Class: Telnyx::Models::AI::AssistantCreateParams::ConversationFlow::Edge::Target::Assistant
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Telnyx::Models::AI::AssistantCreateParams::ConversationFlow::Edge::Target::Assistant
- Defined in:
- lib/telnyx/models/ai/assistant_create_params.rb
Defined Under Namespace
Modules: VoiceMode Classes: Position
Instance Attribute Summary collapse
-
#assistant_id ⇒ String
ID of the assistant the conversation transitions to.
-
#position ⇒ Telnyx::Models::AI::AssistantCreateParams::ConversationFlow::Edge::Target::Assistant::Position?
Optional canvas coordinates for rendering the target assistant as a node in authoring UIs.
- #type ⇒ Symbol, :assistant
-
#voice_mode ⇒ Symbol, ...
Voice behavior when handing off to the target assistant, mirroring the handoff tool’s ‘voice_mode`.
Instance Method Summary collapse
-
#initialize(x:, y_:) ⇒ Object
constructor
Optional canvas coordinates for rendering the target assistant as a node in authoring UIs.
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(x:, y_:) ⇒ Object
Optional canvas coordinates for rendering the target assistant as a node in authoring UIs. Pure presentation — the runtime ignores it; round-trips so frontends can persist graph layout across reloads. When multiple edges target the same assistant, each edge’s ‘position` is independent (frontends typically use the first non-null one).
|
|
# File 'lib/telnyx/models/ai/assistant_create_params.rb', line 973
|
Instance Attribute Details
#assistant_id ⇒ String
ID of the assistant the conversation transitions to.
944 |
# File 'lib/telnyx/models/ai/assistant_create_params.rb', line 944 required :assistant_id, String |
#position ⇒ Telnyx::Models::AI::AssistantCreateParams::ConversationFlow::Edge::Target::Assistant::Position?
Optional canvas coordinates for rendering the target assistant as a node in authoring UIs. Pure presentation — the runtime ignores it; round-trips so frontends can persist graph layout across reloads. When multiple edges target the same assistant, each edge’s ‘position` is independent (frontends typically use the first non-null one).
959 960 |
# File 'lib/telnyx/models/ai/assistant_create_params.rb', line 959 optional :position, -> { Telnyx::AI::AssistantCreateParams::ConversationFlow::Edge::Target::Assistant::Position } |
#type ⇒ Symbol, :assistant
949 |
# File 'lib/telnyx/models/ai/assistant_create_params.rb', line 949 required :type, const: :assistant |
#voice_mode ⇒ Symbol, ...
Voice behavior when handing off to the target assistant, mirroring the handoff tool’s ‘voice_mode`. `unified` (default) keeps the current voice across the handoff; `distinct` lets the target assistant speak with its own configured voice. Only applies to assistant targets — node targets override voice via the node’s own ‘voice_settings`.
970 971 |
# File 'lib/telnyx/models/ai/assistant_create_params.rb', line 970 optional :voice_mode, enum: -> { Telnyx::AI::AssistantCreateParams::ConversationFlow::Edge::Target::Assistant::VoiceMode } |