Agent
What are agents and how to use them.
Overview
Agents represent an abstraction for an AI (usually an LLM) that powers the content generation/understanding layer of the conversation. In other words, Agents are the AI that is actually having the conversation.
Vocode provides agents that work out-of-the-box (see below) and also allows developers to create their own agents.
Default Agent Implementations
All Agents are implemented using the corresponding AgentConfig
class.
ChatGPTAgentConfig
The ChatGPTAgentConfig
is configured to use the new ChatGPT endpoint from OpenAI.
The initial prompt message.
LLMAgentConfig
The LLMAgentConfig
is configured to use the completions endpoint using the simpler text-curie-001
model.
The initial prompt message.
InformationRetrievalAgentConfig
Primarily used for Outbound phone calls, the `InformationRetrievalAgent
A description for the call recipient.
A description for the caller.
A description for the goal of the call.
The fields that are to be collected on the call.
To build your own agent, see Create your own AI Agent