OpenAIChatCompletionRequest
Secondary constructor using choicesCount as an alias for n.
Parameters
The model identifier (e.g. "gpt-5.6-sol").
The list of message parameters.
Audio output parameters for audio generation. null disables audio output.
Penalty for token frequency (-2.0 to 2.0).
Modifies the likelihood of specified tokens appearing in the completion.
Whether to return log probabilities of the output tokens.
Upper bound for tokens generated in a completion.
The maximum number of tokens that can be generated. Deprecated in favor of maxCompletionTokens.
Set of up to 16 key-value pairs attached to the request object.
Output modalities to generate (e.g. text, audio).
Number of chat completion choices to generate. Maps to n.
Whether to enable parallel function calling during tool use.
Penalty for token presence (-2.0 to 2.0).
An object specifying the format that the model must output.
Beta. Best-effort deterministic sampling seed.
Specifies the processing type used for serving the request.
Sequences where the API stops generating further tokens.
Whether to store the output of this request.
Options for streaming responses.
Sampling temperature (0.0–2.0).
Controls which (if any) tool is called by the model.
Maximum number of most likely tokens to return at each position (0–20).
Nucleus sampling parameter (0.0–1.0).
Available tool definitions.
Deprecated. A stable identifier for end-users.
A stable identifier for users of your application.
Constrains the verbosity of the model's response.
Reasoning effort level. null uses provider default.