Knowledge Base
Train your AI assistant with your product documentation using the Knowledge Base.
Overview
The Knowledge Base stores documentation sources that the AI uses to answer user questions. Deway indexes your content, enabling accurate, context-aware responses grounded in your actual documentation.
Navigate to Knowledge Base in the admin sidebar to manage your data sources.
Data Sources
The Knowledge Base supports two types of data sources:
| Type | Description |
|---|---|
| Web Scrape | Documentation websites crawled and indexed by the Deway team |
| Manual | PDF files you upload directly |
Data Sources Table
The Knowledge Base page shows all your data sources in a table:
| Column | Description |
|---|---|
| Source | URL (for web scrapes) or filename (for manual uploads) |
| Type | Web Scrape or Manual |
| Status | Current sync state |
| Documents | Number of pages/documents indexed |
| Last Updated | When the source was last synced |
Sync Status
| Status | Description |
|---|---|
| Completed | Source has been indexed successfully |
| Syncing | Currently being processed |
| Failed | Indexing encountered an error |
Uploading Files
You can upload PDF documents directly to your Knowledge Base.
How to Upload
- Navigate to Knowledge Base
- Click Upload File
- Drag and drop a PDF file, or click to browse
- Click Upload File to start processing
Requirements
- File format: PDF only
- Max file size: 5 MB
- Processing begins immediately after upload
- The status will show "Syncing" while the file is being indexed
Use Cases
- Internal documentation not available on a public URL
- Product guides and training materials
- Policy documents and FAQs
- API reference PDFs
Web Scrape Sources
Web scrape sources are set up by the Deway team during onboarding. These are your public documentation sites (help centers, docs sites, API references) that Deway crawls and indexes.
To add or update a web scrape source, contact the Deway team.
Best Practices
Start with Core Documentation
- Ensure your main documentation is indexed
- Verify the AI can answer basic product questions
- Upload supplemental PDFs for gaps
Keep Sources Current
- Re-sync after major documentation updates
- The AI's answers are only as good as the indexed content
- Upload updated PDFs when internal docs change
Monitor Quality
Use the Chats page to:
- Check if the AI cites the right sources
- Find questions the AI can't answer (gaps in your Knowledge Base)
- Identify outdated content that needs refreshing
Multiple Data Sources
You can have multiple sources. Common setups:
| Source | Type |
|---|---|
| Product Docs | Web Scrape |
| API Reference | Web Scrape |
| Internal Guides | Manual (PDF) |
| Onboarding Playbook | Manual (PDF) |
Each source is indexed independently and combined in the AI's knowledge.
Troubleshooting
Upload Failed
- Verify the file is a valid PDF
- Check the file is under 5 MB
- Try uploading again
AI Gives Incorrect Answers
- Check if the relevant source is indexed (document count > 0)
- Verify the source status is "Completed"
- Upload additional documentation to fill gaps
- Contact the Deway team if web scrape sources need updating
Next Steps
- Agent Training — Configure sensitive topic handling
- Agent Look & Feel — Customize the widget