Class: Telnyx::Models::AI::InferenceEmbedding::ConversationFlow
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Telnyx::Models::AI::InferenceEmbedding::ConversationFlow
- Defined in:
- lib/telnyx/models/ai/inference_embedding.rb
Overview
Defined Under Namespace
Instance Attribute Summary collapse
-
#edges ⇒ Array<Telnyx::Models::AI::InferenceEmbedding::ConversationFlow::Edge>?
Directed transitions between nodes.
-
#nodes ⇒ Array<Telnyx::Models::AI::InferenceEmbedding::ConversationFlow::Node::Prompt, Telnyx::Models::AI::InferenceEmbedding::ConversationFlow::Node::Tool>
All nodes in the flow.
-
#start_node_id ⇒ String
ID of the node where the conversation begins.
Class Method Summary collapse
- .values ⇒ Array<Symbol>
- .variants ⇒ Array(Telnyx::Models::AI::InferenceEmbedding::ConversationFlow::Node::Prompt, Telnyx::Models::AI::InferenceEmbedding::ConversationFlow::Node::Tool)
Instance Method Summary collapse
-
#initialize(nodes:, start_node_id:, edges: nil) ⇒ Object
constructor
Conversation flow as returned by the API.
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(nodes:, start_node_id:, edges: nil) ⇒ Object
Conversation flow as returned by the API.
|
|
# File 'lib/telnyx/models/ai/inference_embedding.rb', line 334
|
Instance Attribute Details
#edges ⇒ Array<Telnyx::Models::AI::InferenceEmbedding::ConversationFlow::Edge>?
Directed transitions between nodes.
331 332 |
# File 'lib/telnyx/models/ai/inference_embedding.rb', line 331 optional :edges, -> { Telnyx::Internal::Type::ArrayOf[Telnyx::AI::InferenceEmbedding::ConversationFlow::Edge] } |
#nodes ⇒ Array<Telnyx::Models::AI::InferenceEmbedding::ConversationFlow::Node::Prompt, Telnyx::Models::AI::InferenceEmbedding::ConversationFlow::Node::Tool>
All nodes in the flow.
318 319 |
# File 'lib/telnyx/models/ai/inference_embedding.rb', line 318 required :nodes, -> { Telnyx::Internal::Type::ArrayOf[union: Telnyx::AI::InferenceEmbedding::ConversationFlow::Node] } |
#start_node_id ⇒ String
ID of the node where the conversation begins.
325 |
# File 'lib/telnyx/models/ai/inference_embedding.rb', line 325 required :start_node_id, String |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/telnyx/models/ai/inference_embedding.rb', line 661
|
.variants ⇒ Array(Telnyx::Models::AI::InferenceEmbedding::ConversationFlow::Node::Prompt, Telnyx::Models::AI::InferenceEmbedding::ConversationFlow::Node::Tool)
|
|
# File 'lib/telnyx/models/ai/inference_embedding.rb', line 666
|