curl -X POST
https://api.vapi.ai/assistant \
-H "Authorization: Bearer 7c323bae-414a-4e08-ae3b-d8578e463aed" \
-H "Content-Type: application/json" \
-d '{
"transcriber": {
"provider": "deepgram",
"codeSwitchingEnabled": false,
"keywords": [
"dialoft",
"dialoftai"
],
"language": "en",
"model": "nova-2"
},
"model": {
"provider": "openai",
"model": "gpt-3.5-turbo",
"fallbackModels": [
"gpt-3.5-turbo-0125"
],
"messages": [
{
"role": "system",
"content": "how are you"
}
],
"toolIds": [],
"tools": [],
"knowledgeBase": {
"knowledgeBaseId": "ca6c4605-203d-4bc0-a18b-cad7f277956c"
},
"voice": {
"provider": "11labs",
"voiceId": "myra",
"fallbackPlan": {
"voices": [
{
"provider": "11labs",
"voiceId": "sarah"
}
]
},
"model": "eleven_turbo_v2_5",
"chunkPlan": {}
},
"firstMessage": "how are you 2 first message",
"firstMessageMode": "assistant-speaks-first",
"clientMessages": [
"tool-calls",
"tool-calls-result"
],
"serverMessages": [
"end-of-call-report",
"hang",
"tool-calls",
"transfer-destination-request"
],
"maxDurationSeconds": 600,
"backgroundSound": "off",
"backgroundDenoisingEnabled": true,
"silenceTimeoutSeconds": 30,
"voicemailDetection": {
"provider": "twilio",
"voicemailDetectionTypes": [
"machine_end_silence",
"machine_end_beep",
"machine_end_other",
"machine_start",
"fax",
"unknown",
"human"
],
],
@User it still not assigning knowledge base to the agent