Class: Telnyx::Models::AI::AssistantUpdateParams::ConversationFlow::Node::Prompt
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Telnyx::Models::AI::AssistantUpdateParams::ConversationFlow::Node::Prompt
- Defined in:
- lib/telnyx/models/ai/assistant_update_params.rb
Defined Under Namespace
Modules: InstructionsMode, ToolsMode, Type Classes: Position
Instance Attribute Summary collapse
-
#external_llm ⇒ Telnyx::Models::AI::ExternalLlmReq?
Override for ‘Assistant.external_llm` while this node is active.
-
#id ⇒ String
Caller-supplied unique identifier for this node within the flow.
-
#instructions ⇒ String
Prompt that drives the LLM while this node is active.
-
#instructions_mode ⇒ Symbol, ...
How ‘instructions` combine with the assistant-level instructions.
-
#llm_api_key_ref ⇒ String?
Override for ‘Assistant.llm_api_key_ref` while this node is active.
-
#model ⇒ String?
Override for ‘Assistant.model` while this node is active.
-
#name ⇒ String?
Optional human-readable label, displayed in authoring UIs.
-
#position ⇒ Telnyx::Models::AI::AssistantUpdateParams::ConversationFlow::Node::Prompt::Position?
Optional canvas coordinates used by authoring UIs to lay out the graph.
-
#shared_tool_ids ⇒ Array<String>?
IDs of shared (org-level) tools available at this node.
-
#tools_mode ⇒ Symbol, ...
How ‘shared_tool_ids` combine with the assistant-level tool set.
-
#transcription ⇒ Telnyx::Models::AI::TranscriptionSettings?
Per-node transcription override (model/language/region).
-
#type ⇒ Symbol, ...
Node kind discriminator.
-
#voice_settings ⇒ Telnyx::Models::AI::VoiceSettings?
Per-node voice override.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(x:, y_:) ⇒ Object
constructor
Optional canvas coordinates used by authoring UIs to lay out the graph.
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 used by authoring UIs to lay out the graph. Ignored by the runtime; round-trips so frontends can persist graph layout across reloads.
|
|
# File 'lib/telnyx/models/ai/assistant_update_params.rb', line 461
|
Instance Attribute Details
#external_llm ⇒ Telnyx::Models::AI::ExternalLlmReq?
Override for ‘Assistant.external_llm` while this node is active. Use this to route a node’s turns to a different external LLM (different ‘model`, `base_url`, credentials). Part of the LLM bundle — see `model` for cascade semantics. Mutually exclusive with `model` on the node (a single LLM identity per node).
381 |
# File 'lib/telnyx/models/ai/assistant_update_params.rb', line 381 optional :external_llm, -> { Telnyx::AI::ExternalLlmReq } |
#id ⇒ String
Caller-supplied unique identifier for this node within the flow.
366 |
# File 'lib/telnyx/models/ai/assistant_update_params.rb', line 366 required :id, String |
#instructions ⇒ String
Prompt that drives the LLM while this node is active. Required.
372 |
# File 'lib/telnyx/models/ai/assistant_update_params.rb', line 372 required :instructions, String |
#instructions_mode ⇒ Symbol, ...
How ‘instructions` combine with the assistant-level instructions. `replace` (default): the node’s instructions are used alone. ‘append`: the node’s instructions are concatenated after the assistant’s instructions.
389 390 |
# File 'lib/telnyx/models/ai/assistant_update_params.rb', line 389 optional :instructions_mode, enum: -> { Telnyx::AI::AssistantUpdateParams::ConversationFlow::Node::Prompt::InstructionsMode } |
#llm_api_key_ref ⇒ String?
Override for ‘Assistant.llm_api_key_ref` while this node is active. Part of the LLM bundle — see `model` for cascade semantics.
397 |
# File 'lib/telnyx/models/ai/assistant_update_params.rb', line 397 optional :llm_api_key_ref, String |
#model ⇒ String?
Override for ‘Assistant.model` while this node is active. Part of the LLM bundle (`model` + `llm_api_key_ref` + `external_llm`): when any of the three is set on the node, all three are taken from the node and the assistant-level LLM identity is not consulted. When none of the three is set, the assistant’s bundle cascades unchanged.
407 |
# File 'lib/telnyx/models/ai/assistant_update_params.rb', line 407 optional :model, String |
#name ⇒ String?
Optional human-readable label, displayed in authoring UIs.
413 |
# File 'lib/telnyx/models/ai/assistant_update_params.rb', line 413 optional :name, String |
#position ⇒ Telnyx::Models::AI::AssistantUpdateParams::ConversationFlow::Node::Prompt::Position?
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.
421 |
# File 'lib/telnyx/models/ai/assistant_update_params.rb', line 421 optional :position, -> { Telnyx::AI::AssistantUpdateParams::ConversationFlow::Node::Prompt::Position } |
#shared_tool_ids ⇒ Array<String>?
IDs of shared (org-level) tools available at this node. Knowledge bases are attached the same way — via a shared retrieval tool. Tools not listed here are not callable while this node is active.
429 |
# File 'lib/telnyx/models/ai/assistant_update_params.rb', line 429 optional :shared_tool_ids, Telnyx::Internal::Type::ArrayOf[String] |
#tools_mode ⇒ Symbol, ...
How ‘shared_tool_ids` combine with the assistant-level tool set. `replace` (default): only the node’s tools are callable. ‘append`: the node’s tools are added to the assistant’s tools. Ignored when ‘shared_tool_ids` is null.
437 438 |
# File 'lib/telnyx/models/ai/assistant_update_params.rb', line 437 optional :tools_mode, enum: -> { Telnyx::AI::AssistantUpdateParams::ConversationFlow::Node::Prompt::ToolsMode } |
#transcription ⇒ Telnyx::Models::AI::TranscriptionSettings?
Per-node transcription override (model/language/region). Unset fields cascade from the assistant-level transcription.
445 |
# File 'lib/telnyx/models/ai/assistant_update_params.rb', line 445 optional :transcription, -> { Telnyx::AI::TranscriptionSettings } |
#type ⇒ Symbol, ...
Node kind discriminator. ‘prompt` (default) is an LLM-driven step; `tool` is a standalone tool execution (see `ToolNodeReq`).
452 |
# File 'lib/telnyx/models/ai/assistant_update_params.rb', line 452 optional :type, enum: -> { Telnyx::AI::AssistantUpdateParams::ConversationFlow::Node::Prompt::Type } |
#voice_settings ⇒ Telnyx::Models::AI::VoiceSettings?
Per-node voice override. Only fields set here override the assistant-level voice settings; unset fields cascade.
459 |
# File 'lib/telnyx/models/ai/assistant_update_params.rb', line 459 optional :voice_settings, -> { Telnyx::AI::VoiceSettings } |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/telnyx/models/ai/assistant_update_params.rb', line 508
|