OpenAI::ChatCompletionResponseMessageAudioVariant1
Inherits JSON::Serializable < Reference < Object
If the audio output modality is requested, this object contains data about the audio response from the model. Learn more.
Constructors
new(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
data
Base64 encoded audio bytes generated by the model, in the format specified in the request.
data=(data : String)
Base64 encoded audio bytes generated by the model, in the format specified in the request.
expires_at
The Unix timestamp (in seconds) for when this audio response will no longer be accessible on the server for use in multi-turn conversations.