
Initial Prompt
The Initial Prompt is the first message the agent speaks. Example:System Prompt
To enhance clarity and maintainability, it’s recommended to break down system prompts into distinct sections, each focusing on a specific aspect:- Identity: Define the persona and role of the AI agent, setting the tone for interactions.
- Style: Establish stylistic guidelines, such as conciseness, formality, or humor, to ensure consistent communication.
- Response Guidelines: Specify formatting preferences, question limits, or other structural elements for responses.
- Task & Goals: Outline the agent’s objectives and the steps it should take to achieve them.
LLM Tools
Take realtime actions by calling functions defined in LLM Tools section. Below are the default functions:transfer_call
: Transfer the call to humna agent to handle escalations.end_call
: Hang up the call on closure.query_knowledge_base
: Fetch more details from company knowledge base.
Explicity instruct the agent to call tool to ensure it is always executed when required, refer to the example below.
Dynamic Variables
Use variables inside${}
to personalize responses. Example:
Add pauses
Insert pauses in intial prompt:Add a pause of 1-2 seconds before agent’s first speech to account for any delays from customer’s side while answering the phone call.