Knowledge Base
The knowledge base (KB) is what makes the chatbot useful. The bot retrieves from your uploaded documents and grounds every answer in them — if the information isn't in the KB, the bot won't make it up.
What to upload
Anything your visitors commonly ask about:
- FAQ pages
- Shipping and return policies
- Product descriptions and specifications
- Setup guides and tutorials
- Service and pricing information
- Opening hours, locations, directions
- Troubleshooting steps
Don't upload: personally identifiable information (PII), confidential internal docs, anything you wouldn't want visitors to see. The bot can quote from any document you upload, so treat the KB as public-facing.
Supported formats
- Plain text (
.txt) - Markdown (
.md) - PDF (
.pdf)
Images inside PDFs are not OCR'd; only extractable text is indexed.
Where to manage it
Inside your project: Settings → Context → Knowledge Base. You can upload, delete, and (via the "Delete All" button) wipe the entire KB if you want to start over.
How it's used
When a visitor asks a question:
- Their question is used to retrieve the most relevant passages from your uploaded docs.
- Those passages are fed to the LLM as context.
- The LLM answers using that context plus any Live Context your site has pushed for this visitor.
- The answer is returned to the visitor in the widget.
Keeping it fresh
If your policies change, upload the new version and delete the old one. The bot starts using the new content immediately — no redeploy, no cache to clear.
For per-visitor data that changes on every session (the current user's name, plan, orders, subscription status), don't upload it to the knowledge base — use Live Context instead. Your site pushes that data into the chat at runtime so the bot always has the freshest version for each visitor.