Module: OpenAI::Models::Audio::VoiceCreateParams::Body::Prompt::Model

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

Overview

The voice creation model to use. Defaults to auto.

See Also:

  • OpenAI::Models::Audio::VoiceCreateParams::Body::Prompt#model

collapse

AUTO =

Returns:

  • (:auto)
:auto
MODEL_2026_10_08 =

Returns:

  • (:"2026-10-08")
:"2026-10-08"

Class Method Summary collapse

Methods included from Internal::Type::Union

==, ===, coerce, derefed_variants, dump, hash, inspect, to_sorbet_type, variant_for_dump

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

.variants ⇒ Array(String, Symbol)

Returns:

  • (Array(String, Symbol))


198
199
200
# File 'lib/openai/models/audio/voice_create_params.rb', line 198

define_sorbet_constant!(:Variants) do
  T.type_alias { T.any(String, OpenAI::Audio::VoiceCreateParams::Body::Prompt::Model::TaggedSymbol) }
end