Module: Telnyx::Models::AI::Assistants::UpdateAssistant::ConversationFlow::Edge::Target

Extended by:
Internal::Type::Union
Defined in:
lib/telnyx/models/ai/assistants/update_assistant.rb

Overview

Destination of the transition. Discriminated by ‘type`: `node` (jump to another node in this flow) or `assistant` (hand off to a different assistant).

See Also:

Defined Under Namespace

Classes: Assistant, Node

Instance Method Summary collapse

Methods included from Internal::Type::Union

==, ===, coerce, dump, hash, inspect, to_sorbet_type, variants

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, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info

Instance Method Details

#initialize(node_id:, type: :node) ⇒ Object

Edge target referencing another node within the same flow.

The runtime transitions the active node to ‘node_id` and continues processing within the current assistant’s flow.

Parameters:

  • node_id (String)

    ID of the node this edge transitions into.

  • type (Symbol, :node) (defaults to: :node)


# File 'lib/telnyx/models/ai/assistants/update_assistant.rb', line 936