Class: Telnyx::Models::AI::InferenceEmbedding::ConversationFlow::Node::Speak
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Telnyx::Models::AI::InferenceEmbedding::ConversationFlow::Node::Speak
- Defined in:
- lib/telnyx/models/ai/inference_embedding.rb,
sig/telnyx/models/ai/inference_embedding.rbs
Defined Under Namespace
Modules: Type
Instance Attribute Summary collapse
-
#id ⇒ String
Caller-supplied unique identifier for this node within the flow.
-
#message ⇒ String
Message delivered to the user verbatim when the flow reaches this node.
-
#name ⇒ String?
Optional human-readable label, displayed in authoring UIs.
-
#position ⇒ Telnyx::Models::AI::NodePosition?
Optional canvas coordinates used by authoring UIs to lay out the graph.
-
#type ⇒ Symbol, ...
Node kind discriminator.
Instance Method Summary collapse
-
#initialize(id:, message:, name: nil, position: nil, type: nil) ⇒ Object
constructor
Some parameter documentations has been truncated, see Speak for more details.
- #to_hash ⇒ {
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(id:, message:, name: nil, position: nil, type: nil) ⇒ Object
Some parameter documentations has been truncated, see Telnyx::Models::AI::InferenceEmbedding::ConversationFlow::Node::Speak for more details.
A standalone scripted-message step in a flow, as returned by the API.
|
|
# File 'lib/telnyx/models/ai/inference_embedding.rb', line 658
|
Instance Attribute Details
#id ⇒ String
Caller-supplied unique identifier for this node within the flow.
625 |
# File 'lib/telnyx/models/ai/inference_embedding.rb', line 625 required :id, String |
#message ⇒ String
Message delivered to the user verbatim when the flow reaches this node. No LLM
turn — the text is spoken/sent exactly as written. {{variable}} placeholders
are interpolated from the conversation's dynamic variables; an unresolved
placeholder renders as an empty string. After delivering, the flow routes via
the node's outgoing llm / expression edges (commonly a single unconditional
edge).
636 |
# File 'lib/telnyx/models/ai/inference_embedding.rb', line 636 required :message, String |
#name ⇒ String?
Optional human-readable label, displayed in authoring UIs.
642 |
# File 'lib/telnyx/models/ai/inference_embedding.rb', line 642 optional :name, String |
#position ⇒ Telnyx::Models::AI::NodePosition?
Optional canvas coordinates used by authoring UIs to lay out the graph. Ignored by the runtime; round-trips so frontends can persist graph layout across reloads.
650 |
# File 'lib/telnyx/models/ai/inference_embedding.rb', line 650 optional :position, -> { Telnyx::AI::NodePosition } |
#type ⇒ Symbol, ...
Node kind discriminator. Always speak for a speak node.
656 |
# File 'lib/telnyx/models/ai/inference_embedding.rb', line 656 optional :type, enum: -> { Telnyx::AI::InferenceEmbedding::ConversationFlow::Node::Speak::Type } |
Instance Method Details
#to_hash ⇒ {
573 |
# File 'sig/telnyx/models/ai/inference_embedding.rbs', line 573
def to_hash: -> {
|