ChatRequest

data class ChatRequest(val model: String, val instructions: String?, val messages: List<ChatMessage>, val reasoning: ReasoningEffort?, val stream: Boolean, val maxTokens: Int?, val tools: List<ChatRequest.Tool>?, val temperature: Double?, val jsonOutput: Boolean?)(source)

Constructors

Link copied to clipboard
constructor(model: String, instructions: String?, messages: List<ChatMessage>, reasoning: ReasoningEffort?, stream: Boolean, maxTokens: Int?, tools: List<ChatRequest.Tool>?, temperature: Double?, jsonOutput: Boolean?)

Types

Link copied to clipboard
data class Tool(val name: String, val description: String, val parameters: JsonElement)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard