ChatCompletionRequest

constructor(model: ModelId, messages: List<ChatMessage>, temperature: Double? = null, topP: Double? = null, n: Int? = null, stop: List<String>? = null, maxTokens: Int? = null, presencePenalty: Double? = null, frequencyPenalty: Double? = null, logitBias: Map<String, Int>? = null, user: String? = null, functions: List<ChatCompletionFunction>? = null, functionCall: FunctionMode? = null, responseFormat: ChatResponseFormat? = null, tools: List<Tool>? = null, toolChoice: ToolChoice? = null, seed: Int? = null, logprobs: Boolean? = null, topLogprobs: Int? = null, instanceId: String? = null, streamOptions: StreamOptions? = null)