Module: OpenAI::Models::Audio::SpeechCreateParams::ResponseFormat

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

Overview

The format to audio in. Supported formats are mp3, opus, aac, flac, wav, and pcm.

Constant Summary collapse

MP3 =

Returns:

  • (:mp3)
:mp3
OPUS =

Returns:

  • (:opus)
:opus
AAC =

Returns:

  • (:aac)
:aac
FLAC =

Returns:

  • (:flac)
:flac
WAV =

Returns:

  • (:wav)
:wav
PCM =

Returns:

  • (:pcm)
:pcm

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::Audio::SpeechCreateParams::response_format]

Returns:

  • (::Array[OpenAI::Models::Audio::SpeechCreateParams::response_format])


206
# File 'sig/openai/models/audio/speech_create_params.rbs', line 206

def self?.values: -> ::Array[OpenAI::Models::Audio::SpeechCreateParams::response_format]