Compartilhar via


GetChatCompletionsBodyParam interface

Propriedades

body

Detalhes da propriedade

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 }

Valor da propriedade

{ 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 }