Supported Formats
Uploading Documents
1
Open Knowledge Base tab
Go to your chatbot → Knowledge Base tab.
2
Click Add Source → Document
A drag & drop dialog opens.
3
Upload
Drag files onto the dialog or click to browse your filesystem. You can upload multiple files at once.
4
Processing
Each file goes through:
- Text extraction (PDF → text, DOCX → text)
- Chunking (split into semantically meaningful pieces)
- Embedding (converted to vectors via text-embedding-3-large)
- Indexing (stored in pgvector + full-text search index)
File Size Limit
Maximum: 50 MB per file. For best results, use well-structured documents with headings — the chunking algorithm uses headings to create better-scoped chunks.Document Status
After upload, each document shows a status:Document Metadata
Each document displays:- Filename and file type icon
- File size
- Number of chunks created
- Upload date
- Status indicator
Updating Documents
To update a document’s content, delete the old version and re-upload. There is no in-place edit for uploaded files.Routing Instructions
Like all source types, documents support optional routing instructions — extra context for the AI about how to use content from this specific file. Example:“This is the Q3 2025 financial report. When citing numbers from this document, always specify that they are from Q3 2025.”