Module: OpenAI::Models::Chat::ChatCompletionAudioParam::Format

Extended by:
Internal::Type::Enum
Defined in:
lib/openai/models/chat/chat_completion_audio_param.rb,
sig/openai/models/chat/chat_completion_audio_param.rbs

Overview

Specifies the output audio format. Must be one of wav, mp3, flac, opus, or pcm16.

See Also:

  • OpenAI::Models::Chat::ChatCompletionAudioParam#format_

Constant Summary collapse

WAV =

Returns:

  • (:wav)
:wav
AAC =

Returns:

  • (:aac)
:aac
MP3 =

Returns:

  • (:mp3)
:mp3
FLAC =

Returns:

  • (:flac)
:flac
OPUS =

Returns:

  • (:opus)
:opus
PCM16 =

Returns:

  • (:pcm16)
:pcm16

Class Method Summary collapse

Methods included from Internal::Type::Enum

==, ===, coerce, dump, hash, inspect, to_sorbet_type

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Methods included from Internal::Type::Converter

#coerce, coerce, coerce_cached, coerce_with_error, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, resolve_type, type_info

Class Method Details

.values ⇒ ::Array[OpenAI::Models::Chat::ChatCompletionAudioParam::format_]

Returns:

  • (::Array[OpenAI::Models::Chat::ChatCompletionAudioParam::format_])


55
# File 'sig/openai/models/chat/chat_completion_audio_param.rbs', line 55

def self?.values: -> ::Array[OpenAI::Models::Chat::ChatCompletionAudioParam::format_]