class

OpenAI::OutputAudio

Inherits JSON::Serializable < Reference < Object

An audio output from the model.

Constructors

new(type_value : OutputAudioType = OutputAudioType::OutputAudio, data : String = "", transcript : String = "")
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

data

Base64-encoded audio data from the model.

Source
data=(data : String)

Base64-encoded audio data from the model.

Source
transcript

The transcript of the audio data from the model.

Source
transcript=(transcript : String)

The transcript of the audio data from the model.

Source
type_value

The type of the output audio. Always output_audio.

Source
type_value=(type_value : OutputAudioType)

The type of the output audio. Always output_audio.

Source