Vapi Support Bot
12/11/2025, 4:50 PMjson
{
"role": "system",
"content": "You are a helpful assistant. When users ask about products or need information, use the 'knowledge-search' tool to search our knowledge base for accurate answers. Always call the knowledge-search tool before responding."
}
This helps the assistant properly access your TXT-based knowledge base and prevents retrieval errors. For more details, see the [Vapi Query Tool 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)FJ
12/11/2025, 6:05 PMChiranjeet Mishra
12/26/2025, 4:53 PMjson
{
"role": "system",
"content": "You are a helpful assistant. When users ask about products or need information, use the 'knowledge-search' tool to search our knowledge base for accurate answers. Always call the knowledge-search tool before responding."
}
This ensures that the AI knows when to call the tool.
2. **Review Tool Configuration**: Double-check that your query tool is correctly set up with the necessary file IDs and descriptions in your configuration. You might want to recreate the tool using the correct parameters as detailed in the [Query Tool documentation](https://docs.vapi.ai/knowledge-base/using-query-tool).
3. **Check File Status**: Make sure the file status is not "failed" as this could prevent retrieval. If any files show a failed status, try re-uploading them and note any errors during the process.
Following these steps should help your assistant access the uploaded .txt file for queries.