Skip to main content
The Knowledge Base enables RAG (Retrieval-Augmented Generation), allowing your agent to answer questions based on your documents and content.

Overview

When a caller asks a question:
  1. The system searches your knowledge base
  2. Relevant content is retrieved
  3. The AI uses this content to generate accurate responses
This ensures your agent provides factual, up-to-date information rather than relying solely on training data.

Setting Up Knowledge Base

Creating Folders

Organize content into folders:
  1. Navigate to Knowledge Base in the sidebar
  2. Click Create Folder
  3. Name the folder (e.g., “Product FAQ”, “Policies”, “Pricing”)
  4. Click Create
Each organization can have up to 3 folders, each with 250 MB capacity.

Adding Documents

Upload PDFs

  1. Open a folder
  2. Click Upload PDF
  3. Select your file(s)
  4. Wait for processing
Supported: PDF files with text content. OCR processes scanned documents.

Add Websites

  1. Click Add Website
  2. Enter the URL
  3. The system scrapes and processes the content
  4. Content is indexed for search

Folder Limits

Attaching to Agents

Global Attachment

Set a default KB folder for your entire agent:
  1. Open Flow Builder
  2. Click Knowledge Base in left sidebar
  3. Select a folder
  4. Configure retrieval settings
All conversation nodes will use this KB unless overridden.

Node-Specific Attachment

Override for specific nodes:
  1. Select a Conversation node
  2. Scroll to Knowledge Base section
  3. Select a different folder
  4. Configure Top-K and reranking

Retrieval Settings

Top-K

Number of relevant chunks to retrieve (default: 5):

Reranking

Re-orders results by relevance (default: enabled):
Reranking improves accuracy but adds slight latency.

How RAG Works

Best Practices for Content

Regularly update your knowledge base with the latest information. Outdated content leads to wrong answers.
Structure documents with headings, bullet points, and short paragraphs. This improves retrieval accuracy.
Duplicate content can confuse retrieval. Keep one authoritative source for each topic.
Name files descriptively: “Return-Policy-2024.pdf” not “doc1.pdf”

Content Types

Example Use Cases

Troubleshooting

Conversation Stage

Attach KB to conversation nodes

Global Settings

Set default KB for agent

System Prompt

Guide how KB content is used