Overview
The knowledge base powers your agent’s ability to answer questions accurately. When a user asks a question, Ansa:- Searches your knowledge base for relevant content
- Retrieves the most relevant chunks
- Provides them as context to the AI model
- 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
| Plan | Storage |
|---|---|
| Free | 10 MB |
| Starter | 100 MB |
| Growth | 1 GB |
| Pro | 10 GB |
Web Sources
Sync content from websites automatically.Adding a Web Source
- Go to Knowledge > Web Sources
- Enter the URL to crawl
- Configure crawl settings:
- Depth: How many links deep to follow
- Max pages: Maximum pages to index
- 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
Chunk size matters
Chunk size matters
Ansa automatically chunks documents into ~500 token segments. For best results, use well-structured documents with clear headings.
Quality over quantity
Quality over quantity
A smaller, high-quality knowledge base often performs better than a large one with irrelevant content.
Keep content updated
Keep content updated
Regularly update your documents to ensure your agent has accurate information.
Test your knowledge base
Test your knowledge base
After uploading, ask questions to verify your agent can find and use the information correctly.