OpenAI::CreateChatCompletionRequestAudio
Inherits JSON::Serializable < Reference < Object
Parameters for audio output. Required when audio output is requested with
modalities: ["audio"]. Learn more.
Constructors
new(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
format=(format : CreateChatCompletionRequestAudioFormat)
Specifies the output audio format. Must be one of wav, mp3, flac,
opus, or pcm16.