Type Alias ChatCompletionParams

ChatCompletionParams: {
    max_tokens?: number;
    messages: ChatCompletionMessage[];
    model?: string;
    response_format?: {
        json_schema?: { name: string; schema: unknown; strict?: boolean };
        type: "text" | "json_object" | "json_schema";
    };
    stream?: boolean;
    temperature?: number;
    tool_choice?: ChatCompletionToolChoice;
    tools?: ChatCompletionTool[];
    user?: string;
} & SamplingParams