Class: Telnyx::Models::AI::UpdateDynamicVariablesToolParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Telnyx::Models::AI::UpdateDynamicVariablesToolParams
- Defined in:
- lib/telnyx/models/ai/update_dynamic_variables_tool_params.rb,
sig/telnyx/models/ai/update_dynamic_variables_tool_params.rbs
Defined Under Namespace
Classes: UpdatableVariable
Instance Attribute Summary collapse
-
#description ⇒ String
Description of the tool passed to the assistant, guiding when to call it and which variables to update.
-
#name ⇒ String
The function name surfaced to the LLM.
-
#updatable_variables ⇒ Array<Telnyx::Models::AI::UpdateDynamicVariablesToolParams::UpdatableVariable>
The dynamic variables the assistant is allowed to write.
Instance Method Summary collapse
- #initialize ⇒ Object constructor
- #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 ⇒ Object
18 |
# File 'sig/telnyx/models/ai/update_dynamic_variables_tool_params.rbs', line 18
def initialize: (
|
Instance Attribute Details
#description ⇒ String
Description of the tool passed to the assistant, guiding when to call it and which variables to update.
12 |
# File 'lib/telnyx/models/ai/update_dynamic_variables_tool_params.rb', line 12 required :description, String |
#name ⇒ String
The function name surfaced to the LLM. Must match the OpenAI function-name
pattern ^[a-zA-Z0-9_-]+$ and be unique across the assistant's function,
webhook, and client_side tools.
20 |
# File 'lib/telnyx/models/ai/update_dynamic_variables_tool_params.rb', line 20 required :name, String |
#updatable_variables ⇒ Array<Telnyx::Models::AI::UpdateDynamicVariablesToolParams::UpdatableVariable>
The dynamic variables the assistant is allowed to write. At least one is required.
27 28 |
# File 'lib/telnyx/models/ai/update_dynamic_variables_tool_params.rb', line 27 required :updatable_variables, -> { Telnyx::Internal::Type::ArrayOf[Telnyx::AI::UpdateDynamicVariablesToolParams::UpdatableVariable] } |
Instance Method Details
#to_hash ⇒ {
24 |
# File 'sig/telnyx/models/ai/update_dynamic_variables_tool_params.rbs', line 24
def to_hash: -> {
|