ChatRequest

constructor(chat: Chat, choicesCount: Int? = null, temperature: Double? = null, maxTokens: Int? = null, topK: Int? = null, topP: Double? = null, reasoning: ReasoningConfig? = null, tools: List<ChatTool> = emptyList(), stream: Boolean = false)

Parameters

choicesCount

Number of response choices to generate.

topP

Nucleus sampling parameter (0.0–1.0). null uses provider default.