Shraddha
03/02/2025, 9:56 PMVapi Support Bot
03/02/2025, 9:57 PMfileIds
in your knowledge base configuration are correctly referencing the actual files you want the assistant to use. If the IDs are incorrect, the assistant won't be able to access the information.
4. **Permissions Check**: Ensure that your assistant has the necessary permissions to access the knowledge base. There might be restrictions preventing it from retrieving the information.
5. **Logging and Error Review**: Look at the logs for any errors or indications of what might be going wrong during the information retrieval process.
6. **Synchronization Delays**: After making changes, it may take some time for the settings to propagate. If you've recently made changes, give it a little time and then test again.
7. **API Key Validation**: Ensure that your API key is valid and has the appropriate permissions for accessing the knowledge base.
If you've gone through these steps and are still having issues, it might be worth reaching out to VAPI support for more in-depth assistance. Let me know if you need any more help! 😊
Sources:
- [Knowledge Base Configuration and API Guidance](https://discord.com/channels/1211482211119796234/1211483291191083018/1336051824402239579)Vapi Support Bot
03/02/2025, 9:57 PMShraddha
03/02/2025, 9:58 PMLLMUser995
03/02/2025, 11:57 PMShraddha
03/03/2025, 12:12 AM{
"id": "b1aa3484-cfb8-480f-a919-1b73905ebb5a",
"orgId": "8706fbfe-bbeb-445f-b2dc-960ea7a13cbe",
"name": "KB_0b6821d2-c5f8-4d81-8227-fd0262081db1_1740949942418",
"provider": "trieve",
"createdAt": "2025-03-02T21:12:28.168Z",
"updatedAt": "2025-03-02T21:12:28.168Z",
"searchPlan": {
"topK": 3,
"searchType": "semantic",
"scoreThreshold": 0.7,
"removeStopWords": true
},
"createPlan": {
"type": "create",
"chunkPlans": [
{
"fileIds": [
"9cec82d8-f19e-41f0-9d5f-61b7238d21c9",
"4a8b1acf-b1f3-4c11-9307-547b84fb843a"
],
"websites": [],
"rebalanceChunks": true,
"splitDelimiters": [
".!?\n"
],
"targetSplitsPerChunk": 50
}
],
"providerId": "6c598893-110f-4ca9-8cca-01a8656e761c"
}
}
Guessing that the searchPlan parameters are off. Can I set it using the uI? What do you recommend setting these values to?LLMUser995
03/03/2025, 12:14 AMLLMUser995
03/03/2025, 12:14 AMLLMUser995
03/03/2025, 12:16 AMLLMUser995
03/03/2025, 12:17 AMShraddha
03/03/2025, 12:58 AMKyle Brunker
03/03/2025, 2:13 PMShraddha
03/05/2025, 7:22 AMShraddha
03/05/2025, 7:23 AMShraddha
03/05/2025, 7:38 AMKyle Brunker
03/07/2025, 11:11 PM"knowledgeBase": {
"fileIds": [
"2d0e74f1-43f3-4a12-a15b-3863c25eeefa",
"db2bd439-16f4-4070-9e46-fb4d6dc73c91"
],
"provider": "google"
},
"knowledgeBaseId": "57982102-2ceb-4034-9f8b-b3c260b0f4e5",
Now looking at the knowledge base ID, I don't see enough chunks got created which means queries couldn't meet the criteria of score threshold 0.7. I suggest creating the Trieve KB again with default create and search plan and then it will work.
https://cdn.discordapp.com/attachments/1345877354588667956/1347708162127564811/Screenshot_2025-03-08_at_4.39.58_AM.png?ex=67ccce89&is=67cb7d09&hm=dab277c368ec1aec5ea21b08ab4eb9bc6730ec687bb031f2f1e0311dd5f7844a&