Samkus
10/09/2025, 1:46 PMVapi Support Bot
10/09/2025, 1:47 PMSamkus
10/09/2025, 1:56 PMSamkus
10/09/2025, 2:18 PMVapi Support Bot
10/09/2025, 2:20 PMjson
{
"documents": [
{
"content": "The Laboratory, The Art Collector, The Harbour Master",
"similarity": 0.95
}
]
}
Update your tool endpoint to return the actual product list in the documents array so the assistant can use this information in its reply. [See example in documentation](https://docs.vapi.ai/knowledge-base/custom-knowledge-base).
Source:
- [Custom Knowledge Base](https://docs.vapi.ai/knowledge-base/custom-knowledge-base)Samkus
10/09/2025, 2:30 PMVapi Support Bot
10/09/2025, 2:31 PM.docx file is under 300KB and contains clearly structured, well-labeled sections (e.g., headings for each product or FAQ). The query tool relies on well-organized content to extract relevant answers—try reformatting your file with clear headings and bullet points for each product. After updating, re-upload the file and test again.
Tip: Use simple, direct language and avoid embedding tables or complex formatting in the .docx file for best results.
[See best practices in documentation](https://docs.vapi.ai/knowledge-base/using-query-tool)
Source:
- [Using the Query Tool for Knowledge Bases](https://docs.vapi.ai/knowledge-base/using-query-tool)Samkus
10/09/2025, 2:39 PMSamkus
10/09/2025, 2:40 PMVapi Support Bot
10/09/2025, 2:41 PM.docx file so that each product is listed as a simple bullet point under a clear heading, and remove any tables or markdown formatting. For example:
Products Offered:
- The Laboratory
- The Art Collector
- The Harbour Master
After saving and re-uploading the file, test your agent again to see if the query tool now returns the correct product names in responses.
[See best practices in documentation](https://docs.vapi.ai/knowledge-base/using-query-tool)
Source:
- [Using the Query Tool for Knowledge Bases](https://docs.vapi.ai/knowledge-base/using-query-tool)Samkus
10/10/2025, 6:02 AMOmatsola
10/11/2025, 1:02 PMSamkus
10/13/2025, 3:03 PMOmatsola
10/13/2025, 4:35 PMOmatsola
10/13/2025, 4:35 PMOmatsola
10/13/2025, 4:36 PMOmatsola
10/13/2025, 4:38 PMChiranjeet Mishra
10/16/2025, 7:50 PMBuild > Files in the Vapi dashboard.
- Click "Upload" and select files (supported formats: .txt, .pdf, .docx, etc.).
2. Configure Assistant:
- Navigate to Build > Assistant, select your assistant.
- In the configuration, find "Files" or "Knowledge Base" and associate the uploaded files with the assistant.
3. Publish:
- Add prompts to guide your assistant on when to use the knowledge base.
- Review configurations and click "Publish" to make changes live.
For more details, you can refer to the [Vapi Knowledge Base Guide](https://docs.vapi.ai/knowledge-base).
Advanced Configuration with API
For greater flexibility, use the API to configure your knowledge base setup. This includes handling multiple bases, uploading files, and custom query tools. For comprehensive steps, see the [Using the Query Tool for Knowledge Bases](https://docs.vapi.ai/knowledge-base/using-query-tool.mdx).
This should help you get started or refine your setup.