Class: Telnyx::Models::AI::AssistantCreateParams::ConversationFlow::Edge::Target::Assistant

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/telnyx/models/ai/assistant_create_params.rb

Defined Under Namespace

Modules: VoiceMode Classes: Position

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(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).

Parameters:

  • x (Float)

    Horizontal coordinate in the authoring canvas.

  • y_ (Float)

    Vertical coordinate in the authoring canvas.



# File 'lib/telnyx/models/ai/assistant_create_params.rb', line 973

Instance Attribute Details

#assistant_idString

ID of the assistant the conversation transitions to.

Returns:

  • (String)


944
# File 'lib/telnyx/models/ai/assistant_create_params.rb', line 944

required :assistant_id, String

#positionTelnyx::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 }

#typeSymbol, :assistant

Returns:

  • (Symbol, :assistant)


949
# File 'lib/telnyx/models/ai/assistant_create_params.rb', line 949

required :type, const: :assistant

#voice_modeSymbol, ...

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 }