knowledgebase
# support
s
Could you please provide a use case for using files?
v
Hi there! 👋 I'd be happy to share some use cases for using files in Vapi's knowledge base! According to the [Vapi documentation](https://docs.vapi.ai/knowledge-base), here are several practical use cases: 1. Questionnaire Assistants - You can use a KB file to create assistants that collect customer data with common and purpose-related questions. This allows you to maintain one comprehensive file across multiple assistants rather than separate files for each one. 2. Emergency Procedures - Files can store emergency procedures that can be appended to each assistant's prompt, ensuring consistent handling of urgent situations. 3. Appointment Booking - Knowledge base files can manage appointment booking processes where the instruction order is critical. 4. Creating Vector Stores - You can [upload files](https://docs.vapi.ai/changelog/2024/12/3) to create vector stores for knowledge retrieval, with options to customize how your files are ingested and chunked. 5. Call Recordings - According to [call features documentation](https://docs.vapi.ai/calls/call-features), you can save audio data from live calls as files. 6. Improving Agent Responses - Uploading files to a knowledge base can significantly improve your agent's ability to provide accurate and informative responses to user queries. Is there a specific use case you're interested in exploring further? Sources: - [Vapi documentation](https://docs.vapi.ai/knowledge-base) - [Vapi changelog](https://docs.vapi.ai/changelog/2024/12/3) - [Call features documentation](https://docs.vapi.ai/calls/call-features) - [Discord conversation thread](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1336371356731834459)
s
When should I use Trieve vs when should I use files? Am I correct that the only time files can be used as a knowledge base is when your assistant uses Google Gemini?
p
So, when it comes to using Query or Query-based KB, it's all up to you, but the recommended one is Query-based KB. Why it helps you resolve all of your elucinations (related or created by knowledge bases) such as: 1. Tool score not triggering 2. Transfer not working 3. Not working in between the scores 4. Unnecessary use of KB Use of KB a query-based tool gives you an option to define the rules by when and how should this KB will be invoked against the user input. Recommendation is to go with query-base tool.
s
Is this correct? Uploading a file into Vapi is the query approach and only works if the gemini-1.5-flash model is being used. Trieve is the Query-based approach to knowledge base.
p
Hi, checking if this is resolved/solved for you?
2 Views