Knowledge Base
Train your agent with documents, websites, and manual entries.
Your agent learns from your knowledge base. Add websites, documents, and manual entries to improve response quality.
Adding Knowledge
Websites
Crawl your website to index content:
- Go to Dashboard → Knowledge
- Click Crawl Website
- Enter your website URL
- Wait for the crawl to complete
The crawler:
- Follows internal links
- Extracts text content
- Indexes pages for search
- Respects
robots.txt
Documents
Upload files for the agent to reference:
- Go to Dashboard → Knowledge
- Click Upload Document
- Select a file (PDF, TXT, MD)
- Wait for processing
Supported formats:
- PDF — Extracts text from pages
- Text files — Plain text content
- Markdown — Formatted documentation
Manual Entries
Add specific Q&A pairs:
- Go to Dashboard → Knowledge
- Click Add Entry
- Enter:
- Question — What visitors might ask
- Answer — How the agent should respond
- Click Save
Example entries:
| Question | Answer |
|---|---|
| What are your hours? | We're open Mon-Fri 9am-6pm EST. |
| Do you offer refunds? | Yes, within 30 days of purchase. |
| How do I contact support? | Email support@acme.com or call 555-0123. |
Knowledge Organization
Knowledge belongs to a domain, and a domain has one agent. Everything uploaded or crawled for that domain is what that agent answers from — so keeping it tidy is a matter of keeping each domain's knowledge separate.
Documents are stored whole and split into chunks for retrieval. A chunk keeps its position in the source document, so an answer can point back at the passage it came from.
How It Works
When a visitor asks a question:
- Agent searches knowledge base for relevant content
- Finds matching entries
- Generates a response using the knowledge
- Cites sources when appropriate
Search Algorithm
The agent uses semantic search to find relevant knowledge:
- Understands context and meaning
- Handles rephrased questions
- Ranks results by relevance
Context Window
The agent has a limited context window:
- Most relevant knowledge is included first
- Older or less relevant content may be excluded
- Keep entries concise for better coverage
Best Practices
- Be concise — Short, clear entries work best
- Cover common questions — Check conversation history for gaps
- Update regularly — Keep information current
- Test responses — Verify agent uses knowledge correctly
- Avoid duplicates — Remove redundant entries
Troubleshooting
Agent doesn't use my knowledge
- Check entry is saved and enabled
- Verify the question matches the entry
- Test with exact phrasing first, then variations
Wrong information
- Check for conflicting entries
- Verify entry priority
- Update or disable incorrect entries
Slow responses
- Reduce knowledge base size
- Remove outdated entries
- Split large documents into smaller files