Module: OpenAI::Models::Audio::SpeechCreateParams::StreamFormat

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 stream the audio in. Supported formats are sse and audio. sse is not supported for tts-1 or tts-1-hd.

Constant Summary collapse

SSE =

Returns:

  • (:sse)
:sse
AUDIO =

Returns:

  • (:audio)
:audio

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Internal::Type::Enum

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

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, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/openai/models/audio/speech_create_params.rb', line 197

Instance Method Details

#self?.values::Array[OpenAI::Models::Audio::SpeechCreateParams::stream_format]

Returns:

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


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

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