New KB announcement does not make sense
# support
m
So just thought I’d share that while exciting… this annoucenement doesn’t make sense. 1) there is a files section in two places, which one do you use? 2) “attach them to a section” does not make any sense, what is ‘section’ and where do you put a prompt??? 3) just give us the exact language to use. @shubham.bajaj Hello @everyone We’ve added a Knowledgebase feature, now accessible via the Files section in the UI! This utilizes Gemini 1.5 Flash through a tool, and based on our observations, it delivers significantly better retrieval-augmented generation (RAG) quality. 🚀 How to Use It: 1️⃣ Upload files in the Files section. 2️⃣ Attach them to a section and provide a relevant prompt. 3️⃣ Instruct the model to call QueryTool when you need to fetch details. ⚠️ Things to Keep in Mind: More context = higher latency ⏳ Max limit: 1M tokens (~1500 pages) 📄 (Recommended: 50-100 pages for optimal performance.) Give it a try and share your feedback! 🚀
v
Hey there! I totally get your confusion about the announcement. Let me clarify a few things for you: 1. **Files Section Locations**: Unfortunately, I couldn't find specific information about the exact locations of the Files section in the Vapi UI. It might be best to check the latest user guides or support resources for the most accurate details. 2. **Attaching Files to a Section**: In the context of the Vapi Knowledgebase, "attaching files to a section" means that after you upload your files, you need to create a Knowledge Base with those files. The "section" refers to the Knowledge Base itself, where you can configure how the files are used. You can then provide prompts that instruct the model on how to utilize the information from the Knowledge Base. 3. **Exact Language for Prompts**: When providing a prompt, you can structure it like this:
Copy code
json
   {
     "role": "system",
     "content": "You are a smart assistant who responds to user queries using the information from your KnowledgeBase. If the answer is not in the KnowledgeBase say 'I do not know'."
   }
This ensures the assistant knows to consult the Knowledge Base first. If you have any more questions or need further clarification, feel free to ask! 😊 Sources: - [Understanding "Attaching Files to a Section" in Vapi Knowledgebase](https://docs.vapi.ai/knowledgebase) - [Detailed Report on Using VAPI Knowledgebase Feature for Prompting](https://docs.vapi.ai/knowledgebase)
s
@Marketeer Apologies if the instructions seem unclear. Here’s a quick short loom video explaining what these lines mean. https://www.loom.com/share/b91c3bfcd7504415b5ba7649e637c681?sid=f88b2dc7-71b2-4509-b4f3-b9ffbc1bb65a I’ll write a comprehensive documentation on using KB, including all possible options.
m
Thanks!