Optional frequencyfrequencyPenalty represents a value between -2.0 and 2.0 to penalize tokens based on frequency.
Optional inputinputExtension represents a set of optional pre-processing integrations.
Optional logitlogitBias modifies the likelihood of specified tokens appearing in a response.
Optional maxmaxCompletionTokens represents the maximum number of tokens in the generated completion.
Optional maxmaxTokens represents the max number of tokens to return.
Use maxCompletionTokens instead.
messages represents the set of messages to process.
model represents the model to use.
Optional outputoutputExtension represents a set of optional post-processing integrations.
Optional parallelparallelToolCalls represents whether to enable parallel function calling during tool use.
Optional presencepresencePenalty represents a value between -2.0 and 2.0 to penalize tokens based on presence.
Optional reasoningreasoningEffort constrains effort on reasoning for reasoning models.
Optional stopstop represents one or more sequences where the API will stop generating tokens.
Optional temperaturetemperature represents the randomness in GPT's output.
Optional tooltoolChoice represents whether to enable tool calling and which tool to use.
Optional toolstools represents an array of tools the model may call.
Optional topKtopK represents the variability of the generated text.
Optional topPtopP represents the diversity of the generated text.
ChatInputMulti represents the full potential input options for chat.