Skip to main content

Overview

The knowledge base powers your agent’s ability to answer questions accurately. When a user asks a question, Ansa:
  1. Searches your knowledge base for relevant content
  2. Retrieves the most relevant chunks
  3. Provides them as context to the AI model
  4. Generates an accurate, grounded response

Document Upload

Supported Formats

  • PDF - Product manuals, documentation, reports
  • TXT - Plain text files
  • DOCX - Microsoft Word documents
  • MD - Markdown files

Uploading Documents

1

Navigate to Knowledge

Go to your agent’s Knowledge tab.
2

Upload files

Drag and drop files or click to browse. You can upload multiple files at once.
3

Wait for processing

Ansa chunks your documents, generates embeddings, and indexes them for search.

Storage Limits

PlanStorage
Free10 MB
Starter100 MB
Growth1 GB
Pro10 GB

Web Sources

Sync content from websites automatically.

Adding a Web Source

  1. Go to Knowledge > Web Sources
  2. Enter the URL to crawl
  3. Configure crawl settings:
    • Depth: How many links deep to follow
    • Max pages: Maximum pages to index
  4. Click Add Source

Sync Schedule

Web sources sync automatically:
  • Initial crawl happens immediately
  • Re-sync can be triggered manually
  • Content is updated when pages change

Best Practices

Ansa automatically chunks documents into ~500 token segments. For best results, use well-structured documents with clear headings.
A smaller, high-quality knowledge base often performs better than a large one with irrelevant content.
Regularly update your documents to ensure your agent has accurate information.
After uploading, ask questions to verify your agent can find and use the information correctly.