Saltar para o conteúdo principal
Versão: 20 R9 BETA

OpenAIChatCompletionParameters

The OpenAIChatCompletionParameters class is designed to handle the parameters required for chat completions using the OpenAI API.

Inherits

Properties

PropertyTypeDefault ValueDescription
modelText"gpt-4o-mini"ID of the model to use.
streamBooleanFalseWhether to stream back partial progress. If set, tokens will be sent as data-only. Callback formula required.
max_completion_tokensInteger0The maximum number of tokens that can be generated in the completion.
nInteger1How many completions to generate for each prompt.
temperatureReal-1What sampling temperature to use, between 0 and 2. Higher values make the output more random, while lower values make it more focused and deterministic.
storeBooleanFalseWhether or not to store the output of this chat completion request.

See also