jarvatar
02/19/2025, 10:02 PMVapi
02/20/2025, 10:05 PMVapi
02/20/2025, 10:05 PMjarvatar
02/20/2025, 10:17 PMVapi
02/21/2025, 7:26 AMjarvatar
02/21/2025, 3:35 PMVapi
02/22/2025, 6:31 PM{
provider: 'anthropic',
model: 'claude-3-sonnet-20240229',
temperature: 0.3,
maxTokens: 250
}
2. Transfer Tool Setup
3. Prompt Structure
Here's an optimized prompt template for an insurance agency receptionist:
[Identity]
You are an AI receptionist for a professional insurance agency. Your role is to warmly greet callers and efficiently connect them with the right department or agent.
[Core Responsibilities]
1. Greet callers professionally
2. Identify the caller's insurance needs
3. Transfer calls to appropriate departments/agents
[Transfer Logic]
- Life Insurance → Transfer to Life Insurance Department
- Auto Insurance → Transfer to Auto Insurance Team
- Home Insurance → Transfer to Property Insurance Team
- General Inquiries → Transfer to Main Licensed Agent
- Existing Policy Questions → Transfer to Customer Service
[Communication Style]
- Professional yet warm
- Clear and concise
- Efficient without rushing
- Use natural transitions before transfers
[Transfer Protocol]
1. Confirm the caller's need
2. Inform them about the transfer
3. Use the transferCall tool with appropriate destination
Remember: Always say "I'll connect you with [appropriate department/agent]" before initiating the transfer.`;
Why this solution works:
\- The lower temperature (0.2) ensures consistent, predictable responses
\- The structured prompt provides clear decision paths
\- The transfer protocol ensures smooth handoffs
\- The communication style maintains professionalism while being approachablejarvatar
02/22/2025, 6:33 PMShubham Bajaj
02/24/2025, 10:13 AMjarvatar
02/24/2025, 10:13 AMShubham Bajaj
02/24/2025, 10:14 AMShubham Bajaj
02/24/2025, 10:15 AMwatch
for next 2 days, to keep an eye in case you require further help.jarvatar
02/24/2025, 9:06 PMVapi
02/26/2025, 1:56 AMjarvatar
02/26/2025, 10:45 PMShubham Bajaj
03/03/2025, 1:52 AMShubham Bajaj
03/03/2025, 1:53 AMjson
{
"type": "transferCall",
"destinations": [
{
"type": "number",
"number": "+17703744667",
"message": "One second."
},
{
"type": "number",
"number": "+17704066123",
"message": "Hang on just a moment."
},
{
"type": "number",
"number": "+17707903709",
"message": "One moment."
}
],
"function": {
"name": "customTransferCall",
"description": "Your Insurance Agent [ver 2.7s] Use this function to transfer the call. Only use it when following instructions that explicitly ask you to use the transferCall function. DO NOT call this function unless you are instructed to do so.",
},
"messages": [
{
"type": "request-start",
"content": "I'm transferring you to the Policy Department now. Stay on the line.",
"conditions": [
{
"param": "destination",
"operator": "eq",
"value": "+17703744667"
}
]
},
{
"type": "request-start",
"content": "I'm transferring you to the Billing Department now. Stay on the line.",
"conditions": [
{
"param": "destination",
"operator": "eq",
"value": "+17704066123"
}
]
},
{
"type": "request-start",
"content": "I'm transferring you to a licensed agent. Stay on the line.",
"conditions": [
{
"param": "destination",
"operator": "eq",
"value": "+17707903709"
}
]
}
]
}