Bilbo
03/28/2025, 11:33 AMBilbo
03/28/2025, 11:34 AMVapi Support Bot
03/28/2025, 11:35 AMsearchType
parameter is correctly set (options include fulltext
, semantic
, hybrid
, or bm25
) [according to the documentation](https://docs.vapi.ai/knowledge-base)
- **Score Threshold**: Consider adjusting the scoreThreshold
to 0.6 or 0.7 if it's set too high [as suggested in troubleshooting guides](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1338541335870836736)
- **Top K Value**: Check if the topK
parameter (number of chunks to return) is properly configured
### 3. System Prompt ConfigurationVapi Support Bot
03/28/2025, 11:35 AMVapi Support Bot
03/28/2025, 11:35 AMcurl --location --request PATCH 'https://api.vapi.ai/assistant/<ASSISTANT_ID>' \
--header 'Content-Type: text/plain' \
--header 'Authorization: Bearer <YOUR_API_KEY>' \
--data '{
"model": {
"knowledgeBaseId": "<KNOWLEDGE_BASE_ID>",
"temperature": 0.2,
"provider": "openai",
"model": "gpt-4o",
"messages": [
{
"content": "You are a smart assistant who responds to user queries using the information you know, or information supplied by outside context.",
"role": "system"
}
]
}
}'
KINGS BIG
03/30/2025, 9:12 AM