Cerebrain
02/19/2025, 11:30 PMVapi
02/20/2025, 10:42 PMVapi
02/20/2025, 10:44 PM{
"message": {
"type": "knowledge-base-request",
"messages": [
{
"role": "user",
"content": "What are your business hours?"
}
]
}
}
c. Return responses in these formats:
{
"documents": [
{
"content": "Our business hours are 9am-5pm Monday through Friday",
"similarity": 0.95
}
]
}
Or alternatively, provide a direct response:
{
"message": {
"role": "assistant",
"content": "Your direct response here"
}
}
Vapi
02/20/2025, 10:44 PM{
"model": {
"knowledgeBase": {
"provider": "custom-knowledge-base",
"server": {
"url": "https://your-local-server.com/knowledge-base"
}
}
}
}
Update your assistant configuration using the VAPI API with this structure.JustSeth
02/22/2025, 1:35 AMJustSeth
02/22/2025, 1:36 AMShubham Bajaj
02/22/2025, 6:42 PMJustSeth
02/22/2025, 8:03 PM