Knowledge Bases
Learn how to create and manage knowledge bases for training your chatbots.
Knowledge bases are collections of documents that train your chatbots. They enable your chatbots to provide accurate, context-aware responses based on your actual content.
What are Knowledge Bases?
Knowledge bases are document stores that are later searched by the chatbot to provide accurate, context-aware responses.
When a chatbot is connected to a knowledge base, it can:
- Answer questions based on your uploaded documents
- Provide accurate, up-to-date information
- Reference specific content from your materials
- Combine information from multiple documents
Creating a Knowledge Base
- Navigate to Knowledge Bases in your workspace
- Click "Create Knowledge Base"
- Enter a descriptive name (e.g., "Product Knowledge Base")
- Click "Create"
After creation, your knowledge base will be empty and ready for documents.
Adding Content to Your Knowledge Base
There are four ways to add content to your knowledge base. You can mix and match these methods to use whatever works best for your content.
1. Upload Files
Upload documents from your computer:
- Open your knowledge base
- Click "Add files" or drag and drop files into the upload area
- Select your files and wait for them to upload
Supported file types:
- PDF files (.pdf)
- Word documents (.doc, .docx)
- Text files (.txt)
File limits:
- Each file must be 10MB or smaller
- If a file is too large, split it into smaller files
- For PDFs: Make sure the text is selectable (not a scanned image)
Tip: If your PDF is an image scan, the system won't be able to read the text. Use a PDF with selectable text or convert scanned PDFs to text first.
2. Add Text Snippets
Type or paste text directly into your knowledge base:
- Click "Add text snippet"
- Give it a title (like "Product Description" or "Return Policy")
- Paste or type your content
- Click "Add text snippet"
Use this for quick notes, short explanations, or content that's not in a file format.
3. Create Q&A Pairs
Add questions and answers that your chatbot can use:
- Click "Add Q&A"
- Give it a title (like "Shipping FAQ")
- Add one or more questions people might ask (up to 10 questions)
- Write the answer that applies to all those questions
- Click "Add Q&A"
This is perfect for common questions. For example, if people ask "How much does shipping cost?" or "What are your shipping rates?", both questions can share the same answer.
4. Add Web Links
Pull content directly from websites:
- Click "Add links"
- Choose how you want to add links:
- Crawl Links: Enter a website URL to automatically find all pages on that site
- Individual Link: Add one specific webpage
- Sitemap: Add a website's sitemap to import all pages at once
- Select which pages you want to add
- Click to add them
The system will read the text from those web pages and add it to your knowledge base.
Training Your Knowledge Base
After you've added content, you need to train your knowledge base so your chatbot can use it:
- Click "Train Knowledge Base" button
- Wait for training to complete (usually takes a few minutes)
You'll see the training status update as it processes. Once it shows "Success", your knowledge base is ready to use with your chatbots.
Updating Your Knowledge Base
When you add new content or remove old content:
- Add or delete the content you want to change
- Click "Train Knowledge Base" again
- The system will update everything automatically
You don't need to worry about what changed—the system handles it for you.
Connecting to Chatbots
Once trained, connect your knowledge base to chatbots:
- Go to your chatbot's settings -> AI & Behavior
- Scroll down to the "Knowledge Base" section
- Select your trained knowledge base from the dropdown
- Save changes
Your chatbot will immediately start using the knowledge base for responses.
Best Practices
Content Quality
- Well-structured documents - Use headings, lists, and clear formatting
- Current information - Keep content up to date
- Specific details - Include detailed information rather than vague summaries
- Organized topics - Separate unrelated content into different knowledge bases
Optimization
- Monitor queries - Review what users ask and add missing content
- Split large docs - Very large documents may benefit from being split
- Remove outdated - Delete documents with outdated information
Knowledge Base Limits
Each workspace has limits on knowledge bases:
- Number of knowledge bases - Check your Usage page for your limit
- Total size - Combined size of all documents across knowledge bases (Maximum 33 MB / knowledge base)
Plan accordingly and manage your knowledge bases to stay within limits.