OpenAI::RealtimeBetaResponse
Inherits JSON::Serializable < Reference < Object
The response resource.
Constructors
Instance methods
Which conversation the response is added to, determined by the conversation
field in the response.create event. If auto, the response will be added to
the default conversation and the value of conversation_id will be an id like
conv_1234. If none, the response will not be added to any conversation and
the value of conversation_id will be null. If responses are being triggered
by server VAD, the response will be added to the default conversation, thus
the conversation_id will be an id like conv_1234.
Which conversation the response is added to, determined by the conversation
field in the response.create event. If auto, the response will be added to
the default conversation and the value of conversation_id will be an id like
conv_1234. If none, the response will not be added to any conversation and
the value of conversation_id will be null. If responses are being triggered
by server VAD, the response will be added to the default conversation, thus
the conversation_id will be an id like conv_1234.
Maximum number of output tokens for a single assistant response, inclusive of tool calls, that was used in this response.
Maximum number of output tokens for a single assistant response, inclusive of tool calls, that was used in this response.
The set of modalities the model used to respond. If there are multiple modalities,
the model will pick one, for example if modalities is ["text", "audio"], the model
could be responding in either text or audio.
The set of modalities the model used to respond. If there are multiple modalities,
the model will pick one, for example if modalities is ["text", "audio"], the model
could be responding in either text or audio.
The list of output items generated by the response.
The format of output audio. Options are pcm16, g711_ulaw, or g711_alaw.
The final status of the response (completed, cancelled, failed, or
incomplete, in_progress).
The final status of the response (completed, cancelled, failed, or
incomplete, in_progress).
Additional details about the status.
Sampling temperature for the model, limited to [0.6, 1.2]. Defaults to 0.8.
Usage statistics for the Response, this will correspond to billing. A Realtime API session will maintain a conversation context and append new Items to the Conversation, thus output from previous turns (text and audio tokens) will become the input for later turns.
Usage statistics for the Response, this will correspond to billing. A Realtime API session will maintain a conversation context and append new Items to the Conversation, thus output from previous turns (text and audio tokens) will become the input for later turns.