Back to Blog
TutorialKnowledge BaseContentInformation Management

Setting Up Your Knowledge Base: Power Your Chatbot with Information

ChatMazes Team

Setting Up Your Knowledge Base: Power Your Chatbot with Information

Your chatbot's intelligence comes from its knowledge base - the collection of documents and information it uses to answer questions. Without a good knowledge base, even the smartest AI will struggle to be helpful. Let's learn how to create and manage effective knowledge bases.

This guide builds upon the knowledge base connection step from our Create Your First Chatbot guide. After setting up your knowledge base, you'll want to learn how to Optimize Your Knowledge Base for better responses.

What is a Knowledge Base?

Think of a knowledge base as your chatbot's library. It's where you store all the information your chatbot needs to answer questions accurately. This might include:

  • FAQs and help documents
  • Product manuals or service descriptions
  • Company policies
  • Training materials
  • Blog posts and articles

Creating Your First Knowledge Base

  1. Navigate to Knowledge Bases in the sidebar
  2. Click the Create button
  3. Give your knowledge base a descriptive name (e.g., "Customer Support KB" or "Product Information")
  4. Click Create

Your new knowledge base is now ready for content! If you're doing this as part of creating your first chatbot, this step corresponds to Step 2 in our Create Your First Chatbot guide.

Adding Files to Your Knowledge Base

ChatMazes supports several common file formats:

  • Microsoft Word documents (.docx)
  • Microsoft Excel spreadsheets (.xlsx)
  • Text files (.txt)
  • Comma-separated values (.csv)
  • PDF documents (.pdf)

To add files:

  1. Open your knowledge base by clicking on it
  2. You'll see the file upload area with a cloud icon
  3. Either:
    • Drag and drop files directly into the upload area
    • Click browse to select files from your computer
  4. Once you've added all your files, click Start Upload

For tips on optimizing your documents for better chatbot responses, see our Optimizing Your Knowledge Base guide.

Tips for Effective Knowledge Bases

Organization is Key

  • Group related information together in separate knowledge bases
  • Use clear, descriptive names for both knowledge bases and files
  • Keep files focused on specific topics rather than mixing unrelated content

File Quality Matters

  • Use clear, well-written documents
  • Break up large documents into smaller, topic-focused files
  • Remove any sensitive or confidential information before uploading

Regular Maintenance

  • Periodically review your knowledge base statistics
  • Update files when information changes
  • Remove outdated or irrelevant content

Monitoring Your Knowledge Base

Each knowledge base includes statistics showing:

  • Number of files
  • Total characters processed
  • Storage usage
  • Processing status of files

You can access these by opening a knowledge base and looking at the statistics cards below the upload area.

Connecting Knowledge Bases to Chatbots

Once you've populated your knowledge base:

  1. Go to your chatbot's settings (Projects → click on your chatbot)
  2. In the Knowledge Base section, select your newly created knowledge base
  3. Save your changes

Your chatbot will now use this information to answer questions!

Troubleshooting Common Issues

Upload Fails: Check that your files are in supported formats and under the size limit (5MB per file).

Chatbot Gives Poor Answers: Review your documents for clarity and completeness. Sometimes rephrasing information or breaking large documents into smaller ones helps.

Processing Delays: Large files or high system load may cause delays. Processing usually completes within a few minutes.

By following these guidelines, you'll create knowledge bases that enable your chatbots to provide accurate, helpful responses to your users' questions.