Skip to main content

Knowledge Base

A Knowledge Base (KB) allows your agent to reference specific data, documents, or websites during a conversation, ensuring accuracy and depth.

How it Works

When a user asks a question, the agent searches your Knowledge Base for the most relevant information before responding. This significantly reduces hallucinations and ensures the agent stays “on-brand.”

Supported Sources

  • PDF Documents: Upload flyers, manuals, or training docs.
  • Websites/URLs: Provide a list of URLs for the agent to crawl and learn from.
  • Text Files: Simple .txt or Markdown files with key information.

Setting Up Your KB

  1. Navigate to the Knowledge Base tab in your agent settings.
  2. Upload your files or add URLs.
  3. Click Train/Sync.
  4. In your System Prompt, instruct the agent to “Refer to your Knowledge Base for any specific information about our services.”

Best Practices

  • Chunking: Break long documents into sections with clear headings.
  • Formatting: Use clean Markdown/Text format.
  • Updates: Regularly sync your KB if your business info (like pricing or schedules) changes.