Class: Zavudev::Models::AgentUpdateParams
Overview
Defined Under Namespace
Classes: Voice
Instance Attribute Summary collapse
#request_options
Instance Method Summary
collapse
dump_request
included
==, #==, #[], 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
#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize ⇒ Object
80
|
# File 'sig/zavudev/models/agent_update_params.rbs', line 80
def initialize: (
|
Instance Attribute Details
#agent_id ⇒ String
13
|
# File 'lib/zavudev/models/agent_update_params.rb', line 13
required :agent_id, String
|
#api_key ⇒ String?
18
|
# File 'lib/zavudev/models/agent_update_params.rb', line 18
optional :api_key, String, api_name: :apiKey
|
#context_window_messages ⇒ Integer?
23
|
# File 'lib/zavudev/models/agent_update_params.rb', line 23
optional :context_window_messages, Integer, api_name: :contextWindowMessages
|
#enabled ⇒ Boolean?
28
|
# File 'lib/zavudev/models/agent_update_params.rb', line 28
optional :enabled, Zavudev::Internal::Type::Boolean
|
33
|
# File 'lib/zavudev/models/agent_update_params.rb', line 33
optional :include_contact_metadata, Zavudev::Internal::Type::Boolean, api_name: :includeContactMetadata
|
#max_tokens ⇒ Integer?
38
|
# File 'lib/zavudev/models/agent_update_params.rb', line 38
optional :max_tokens, Integer, api_name: :maxTokens, nil?: true
|
#model ⇒ String?
43
|
# File 'lib/zavudev/models/agent_update_params.rb', line 43
optional :model, String
|
#name ⇒ String?
48
|
# File 'lib/zavudev/models/agent_update_params.rb', line 48
optional :name, String
|
#provider ⇒ Symbol, ...
LLM provider for the AI agent.
54
|
# File 'lib/zavudev/models/agent_update_params.rb', line 54
optional :provider, enum: -> { Zavudev::Senders::AgentProvider }
|
#system_prompt ⇒ String?
59
|
# File 'lib/zavudev/models/agent_update_params.rb', line 59
optional :system_prompt, String, api_name: :systemPrompt
|
#temperature ⇒ Float?
64
|
# File 'lib/zavudev/models/agent_update_params.rb', line 64
optional :temperature, Float, nil?: true
|
#trigger_on_channels ⇒ Array<String>?
69
|
# File 'lib/zavudev/models/agent_update_params.rb', line 69
optional :trigger_on_channels, Zavudev::Internal::Type::ArrayOf[String], api_name: :triggerOnChannels
|
#trigger_on_message_types ⇒ Array<String>?
74
75
76
|
# File 'lib/zavudev/models/agent_update_params.rb', line 74
optional :trigger_on_message_types,
Zavudev::Internal::Type::ArrayOf[String],
api_name: :triggerOnMessageTypes
|
Voice Agent configuration. Patch this object to enable voice, change the
greeting, or adjust call limits. Requires the Voice Agents feature to be enabled
for your team.
84
|
# File 'lib/zavudev/models/agent_update_params.rb', line 84
optional :voice, -> { Zavudev::AgentUpdateParams::Voice }
|
Instance Method Details
#to_hash ⇒ {
98
|
# File 'sig/zavudev/models/agent_update_params.rbs', line 98
def to_hash: -> {
|