AI::OpenAI::OpenAIChatProviderOptions
Inherits JSON::Serializable < Struct < Value < Object
Provider-specific options for OpenAI chat language models.
These options can be passed via provider_options["openai"] in the
language model call options.
Constructors
Instance methods
Modify the likelihood of specified tokens appearing in the completion. Maps token IDs to bias values from -100 to 100.
Return the log probabilities of the tokens. true = return logprobs, number = return top n logprobs.
The retention policy for the prompt cache. Valid values: "in_memory", "24h"
Reasoning effort for reasoning models. Valid values: "none", "minimal", "low", "medium", "high", "xhigh"
Service tier for the request. Valid values: "auto", "flex", "priority", "default"
Override the system message mode for this model. Valid values: "system", "developer", "remove"
Controls the verbosity of the model's responses. Valid values: "low", "medium", "high"