Class: Zavudev::Models::AgentCreateParams
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
61
|
# File 'sig/zavudev/models/agent_create_params.rbs', line 61
def initialize: (
|
Instance Attribute Details
#context_window_messages ⇒ Integer?
34
|
# File 'lib/zavudev/models/agent_create_params.rb', line 34
optional :context_window_messages, Integer, api_name: :contextWindowMessages
|
39
|
# File 'lib/zavudev/models/agent_create_params.rb', line 39
optional :include_contact_metadata, Zavudev::Internal::Type::Boolean, api_name: :includeContactMetadata
|
#max_tokens ⇒ Integer?
44
|
# File 'lib/zavudev/models/agent_create_params.rb', line 44
optional :max_tokens, Integer, api_name: :maxTokens
|
#model ⇒ String
13
|
# File 'lib/zavudev/models/agent_create_params.rb', line 13
required :model, String
|
#name ⇒ String
18
|
# File 'lib/zavudev/models/agent_create_params.rb', line 18
required :name, String
|
LLM provider for the AI agent.
24
|
# File 'lib/zavudev/models/agent_create_params.rb', line 24
required :provider, enum: -> { Zavudev::Senders::AgentProvider }
|
#system_prompt ⇒ String
29
|
# File 'lib/zavudev/models/agent_create_params.rb', line 29
required :system_prompt, String, api_name: :systemPrompt
|
#temperature ⇒ Float?
49
|
# File 'lib/zavudev/models/agent_create_params.rb', line 49
optional :temperature, Float
|
#trigger_on_channels ⇒ Array<String>?
54
|
# File 'lib/zavudev/models/agent_create_params.rb', line 54
optional :trigger_on_channels, Zavudev::Internal::Type::ArrayOf[String], api_name: :triggerOnChannels
|
#trigger_on_message_types ⇒ Array<String>?
59
60
61
|
# File 'lib/zavudev/models/agent_create_params.rb', line 59
optional :trigger_on_message_types,
Zavudev::Internal::Type::ArrayOf[String],
api_name: :triggerOnMessageTypes
|
Voice Agent configuration on a sender's AI agent. Controls how the agent behaves
on inbound and outbound phone calls through Zavu's managed voice pipeline
(speech recognition, the agent's LLM, and speech synthesis, with real-time
interruption handling). Requires the Voice Agents feature to be enabled for your
team.
71
|
# File 'lib/zavudev/models/agent_create_params.rb', line 71
optional :voice, -> { Zavudev::AgentCreateParams::Voice }
|
Instance Method Details
#to_hash ⇒ {
76
|
# File 'sig/zavudev/models/agent_create_params.rbs', line 76
def to_hash: -> {
|