Incorrect information provided
# support
v
Hi there! 👋 I see you're having an issue with your assistant providing incorrect information about trivia nights, despite your KB clearly stating that no trivia is held at your location. Unfortunately, I can't see the full details of your attached screenshot beyond what you've described, but I can definitely help troubleshoot this issue based on the information you've provided and the CallID. Here are some steps you can take to fix this issue: 1. Check KB Configuration and Association Make sure your knowledge base is properly configured and correctly associated with your assistant. According to [troubleshooting documentation](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1336051824402239579), you should verify that: - The correct
fileIds
are configured in your knowledge base - The Knowledge Base ID is correctly associated with your assistant - There are no typos or errors in the ID 2. Update Assistant via API You may need to update your assistant configuration using the API. According to [API documentation](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1328923059905630238), you can update your assistant using:
Copy code
PUT/PATCH https://api.vapi.ai/assistants/{assistantId}
Make sure to include the correct knowledge base ID in your request. 3. Improve Prompt Engineering Modify your assistant's system prompt to explicitly instruct it to use the knowledge base as the primary source of information. For example, [documentation suggests](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1335953119275782144) using a prompt like:
Copy code
"You are a smart assistant whose responses should be based solely on the provided knowledge base. If the knowledge base does not contain the information asked for, respond with 'I do not know'. Always cite the knowledge base when providing an answer."
4. Check for KB Migration Issues
There was a migration from Canonical to Trieve for knowledge bases. According to [migration information](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1336674769055252594), you may need to re-attach your KB using the API. 5. Wait for Indexing If you recently updated your KB, ensure that the indexing process has completed. It's recommended to wait a few minutes after creating or updating a KB before making calls. I've noted your CallID (5b3a7cb7-d26f-449a-ade4-b8dfe851c514), which is helpful. If the above steps don't resolve the issue, you can contact Vapi support with this CallID, along with the expected response ("We hold NO TRIVIA") and the actual incorrect responses you received. This will help them [trace the call logs and diagnose the issue](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1336407849806462976). Is there anything specific from these troubleshooting steps you'd like me to elaborate on? Sources: - [Troubleshooting steps for when the Vapi assistant provides incorrect information from the Knowledge Base](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1336051824402239579) - [How to update or correct information provided by the Vapi assistant?](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1328923059905630238) - [How does the Vapi assistant retrieve information from the Knowledge Base?](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1335953119275782144) - [How to use CallID to troubleshoot Vapi assistant issues?](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1336407849806462976) - [Troubleshooting steps for when the Vapi assistant provides incorrect information from the Knowledge Base](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1336674769055252594)
v
checking if this is resolved/solved for you?