AI::OpenAI::Responses::ProviderOptions
Inherits JSON::Serializable < Struct < Value < Object
Provider options for Responses API
Constructors
Convenience initializer with Bool or Int32 for logprobs
Instance methods
The ID of the OpenAI Conversation to continue.
You must create a conversation first via the OpenAI API.
Cannot be used in conjunction with previousResponseId.
The set of extra fields to include in the response. Example values: 'reasoning.encrypted_content', 'file_search_call.results', 'message.output_text.logprobs'.
Instructions for the model. They can be used to change the system or developer message when continuing a conversation.
Return the log probabilities of the tokens. Setting to true will return the log probabilities of the tokens that were generated. Setting to a number will return the log probabilities of the top n tokens.
The maximum number of total calls to built-in tools that can be processed in a response.
The ID of the previous response. You can use it to continue a conversation.
Sets a cache key to tie this prompt to cached prefixes for better caching performance.
Reasoning effort for reasoning models. Valid values: 'none' | 'minimal' | 'low' | 'medium' | 'high' | 'xhigh'