Condividi tramite


GetChatCompletionsBodyParam interface

Proprietà

body

Dettagli proprietà

body

body: { frequency_penalty?: number, max_tokens?: number, messages: ChatRequestMessage[], model?: string, presence_penalty?: number, response_format?: ChatCompletionsResponseFormat, seed?: number, stop?: string[], stream?: boolean, temperature?: number, tool_choice?: string | ChatCompletionsNamedToolChoice, tools?: ChatCompletionsToolDefinition[], top_p?: number }

Valore della proprietà

{ frequency_penalty?: number, max_tokens?: number, messages: ChatRequestMessage[], model?: string, presence_penalty?: number, response_format?: ChatCompletionsResponseFormat, seed?: number, stop?: string[], stream?: boolean, temperature?: number, tool_choice?: string | ChatCompletionsNamedToolChoice, tools?: ChatCompletionsToolDefinition[], top_p?: number }