Class: Telnyx::Models::InworldVoiceSettings
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Telnyx::Models::InworldVoiceSettings
- Defined in:
- lib/telnyx/models/inworld_voice_settings.rb,
sig/telnyx/models/inworld_voice_settings.rbs
Defined Under Namespace
Modules: DeliveryMode, Type
Instance Attribute Summary collapse
-
#delivery_mode ⇒ Symbol, ...
Controls the expressiveness and consistency of the Inworld
TTS2model's speech synthesis. -
#type ⇒ Symbol, Telnyx::Models::InworldVoiceSettings::Type
Voice settings provider type.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(type:, delivery_mode: nil) ⇒ Object
constructor
Some parameter documentations has been truncated, see InworldVoiceSettings for more details.
- #to_hash ⇒ {
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(type:, delivery_mode: nil) ⇒ Object
Some parameter documentations has been truncated, see Telnyx::Models::InworldVoiceSettings for more details.
|
|
# File 'lib/telnyx/models/inworld_voice_settings.rb', line 21
|
Instance Attribute Details
#delivery_mode ⇒ Symbol, ...
Controls the expressiveness and consistency of the Inworld TTS2 model's speech
synthesis. STABLE favors consistent, predictable output, CREATIVE allows
more expressive variation, and BALANCED sits in between. Optional and only
supported by TTS2; when omitted, the provider default applies.
19 |
# File 'lib/telnyx/models/inworld_voice_settings.rb', line 19 optional :delivery_mode, enum: -> { Telnyx::InworldVoiceSettings::DeliveryMode } |
#type ⇒ Symbol, Telnyx::Models::InworldVoiceSettings::Type
Voice settings provider type
10 |
# File 'lib/telnyx/models/inworld_voice_settings.rb', line 10 required :type, enum: -> { Telnyx::InworldVoiceSettings::Type } |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/telnyx/models/inworld_voice_settings.rb', line 37
|
Instance Method Details
#to_hash ⇒ {
23 |
# File 'sig/telnyx/models/inworld_voice_settings.rbs', line 23
def to_hash: -> {
|