Class: Telnyx::Models::Calls::ActionStartConversationRelayParams::ConversationRelaySettings::Language::VoiceSettings::Inworld

Inherits:
Internal::Type::BaseModel
  • Object
show all
Defined in:
lib/telnyx/models/calls/action_start_conversation_relay_params.rb

Defined Under Namespace

Modules: DeliveryMode

Instance Attribute Summary collapse

Instance Method Summary collapse

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(delivery_mode: nil, type: :inworld) ⇒ Object

Parameters:



# File 'lib/telnyx/models/calls/action_start_conversation_relay_params.rb', line 525

Instance Attribute Details

#delivery_modeSymbol, ...

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.



522
523
# File 'lib/telnyx/models/calls/action_start_conversation_relay_params.rb', line 522

optional :delivery_mode,
enum: -> { Telnyx::Calls::ActionStartConversationRelayParams::ConversationRelaySettings::Language::VoiceSettings::Inworld::DeliveryMode }

#typeSymbol, :inworld

Voice settings provider type

Returns:

  • (Symbol, :inworld)


513
# File 'lib/telnyx/models/calls/action_start_conversation_relay_params.rb', line 513

required :type, const: :inworld