|
| 1 | +--- |
| 2 | +title: "Creating Custom Knowledge Bases for Your Voice AI Assistants" |
| 3 | +sidebarTitle: "Knowledge Base" |
| 4 | +description: "Learn how to create and integrate custom knowledge bases into your voice AI assistants." |
| 5 | +--- |
| 6 | + |
| 7 | +import AssistantSetupInboundAccordionGroup from "/snippets/quickstart/dashboard/assistant-setup-inbound.mdx"; |
| 8 | +import GetAPhoneNumberSnippet from "/snippets/quickstart/phone/get-a-phone-number.mdx"; |
| 9 | +import { YouTubeEmbed } from "/snippets/video/videos.mdx"; |
| 10 | +import { Image } from "/snippets/images/images.mdx"; |
| 11 | + |
| 12 | + |
| 13 | +<YouTubeEmbed |
| 14 | + videoUrl="https://youtu.be/i5mvqC5sZxU" |
| 15 | + altTitle="Quickstart: Vapi's Knowledge Base" |
| 16 | +/> |
| 17 | + |
| 18 | +## **What is Vapi's Knowledge Base?** |
| 19 | +Our Knowledge Base is a collection of custom documents that contain information on specific topics or domains. By integrating a Knowledge Base into your voice AI assistant, you can enable it to provide more accurate and informative responses to user queries. |
| 20 | + |
| 21 | +### **Why Use a Knowledge Base?** |
| 22 | +Using a Knowledge Base with your voice AI assistant offers several benefits: |
| 23 | + |
| 24 | +* **Improved accuracy**: By integrating custom documents into your assistant, you can ensure that it provides accurate and up-to-date information to users. |
| 25 | +* **Enhanced capabilities**: A Knowledge Base enables your assistant to answer complex queries and provide detailed responses to user inquiries. |
| 26 | +* **Customization**: With a Knowledge Base, you can tailor your assistant's responses to specific domains or topics, making it more effective and informative. |
| 27 | + |
| 28 | +## **How to Create a Knowledge Base** |
| 29 | + |
| 30 | +To create a Knowledge Base, follow these steps: |
| 31 | + |
| 32 | +### **Step 1: Upload Your Documents** |
| 33 | + |
| 34 | +Navigate to Overview > Documents and upload your custom documents in Markdown, PDF, plain text, or Microsoft Word (.doc and .docx) format to Vapi's Knowledge Base. |
| 35 | + |
| 36 | +<Image src="https://cdn.hashnode.com/res/hashnode/image/upload/v1715628063841/rSrWDQ6YM.png" alt="Adding documents to your Knowledge Base" /> |
| 37 | + |
| 38 | +### **Step 2: Create an Assistant** |
| 39 | + |
| 40 | +Create a new assistant in Vapi and, on the right sidebar menu, select the document you've just added to the Knowledge Base feature. |
| 41 | +<Image src="https://cdn.hashnode.com/res/hashnode/image/upload/v1715628223370/e18L04yRk-.png" alt="Adding documents to your assistant" /> |
| 42 | + |
| 43 | + |
| 44 | +### **Step 3: Configure Your Assistant** |
| 45 | + |
| 46 | +Customize your assistant's system prompt to utilize the Knowledge Base for responding to user queries. |
| 47 | + |
| 48 | +## **Best Practices for Creating Effective Knowledge Bases** |
| 49 | + |
| 50 | +* **Organize Your documents**: Organize your documents by topic or category to ensure that your assistant can quickly retrieve relevant information. |
| 51 | +* **Use Clear and concise language**: Use clear and concise language in your documents to ensure that your assistant can accurately understand and respond to user queries. |
| 52 | +* **Keep your documents up-to-date**: Regularly update your documents to ensure that your assistant provides the most accurate and up-to-date information. |
| 53 | + |
| 54 | +<Tip> |
| 55 | + For more information on creating effective Knowledge Bases, check out our tutorial on [Best Practices for Knowledge Base Creation](/tutorials/knowledge-base-best-practices). |
| 56 | +</Tip> |
| 57 | + |
| 58 | +By following these guidelines, you can create a comprehensive Knowledge Base that enhances the capabilities of your voice AI assistant and provides valuable information to users. |
0 commit comments