firefly_0206
03/07/2025, 11:48 AMVapi Support Bot
03/07/2025, 11:49 AMjson
{
"searchPlan": {
"searchType": "hybrid",
"scoreThreshold": 0.3
}
}
2. Use a Clear System Prompt
- Add this instruction to your assistant's system message:
You are a smart assistant who responds to user queries using the information from your KnowledgeBase. If the answer is not in the KnowledgeBase say 'I do not know'.
- This explicitly tells the model to only use KB information and admit when it doesn't know something
### Maintaining Conversational Tone
1. Balanced Temperature Setting
- Set temperature between 0.1-0.3 (not 0) for a balance of consistency and natural conversation
- This range helps maintain predictability while allowing some conversational flexibility
2. Utilize Filler Injection
- Vapi's filler injection model adds natural speech elements like "umm" and "ahh" to make responses sound more human
3. Adjust Interaction Timing
- Configure numWordsToInterruptAssistant
and maxDurationSeconds
(e.g., 5 words and 10 seconds) to create natural conversation flow
### Monitoring and Improvement
- Use tools like Langfuse to monitor your assistant's responses and identify inaccuracies
- Regularly review and update your KB to ensure comprehensive coverage of topics your users might ask about
These settings should help your Assistant stay strictly within the bounds of your knowledge base while maintaining a natural, conversational tone.
Sources:Vapi Support Bot
03/07/2025, 11:49 AMShubham Bajaj
03/08/2025, 1:04 AM