Attaching Files
You can attach files in several ways.
- Drag and Drop
- File Picker
- Screen Capture
- Clipboard Paste
- Cloud Storage
Drag files into the chat area to upload them automatically.
You can drag multiple files at once.
Supported File Formats
| Category | Formats |
|---|---|
| Documents | PDF, DOCX, PPTX, TXT, MD, HTML |
| Spreadsheets | XLSX, CSV |
| Images | PNG, JPG, GIF, WebP, AVIF |
| Code | PY, JS, TS, Java, C++, etc. |
| Audio | WAV, MP3, etc. |
| Data | JSON, XML, YAML |
File Size Limits
The maximum file size depends on the value the admin sets in Settings > Documents.
Files exceeding the limit are rejected with a “File size should not exceed X MB” error.
Image Analysis
When you attach an image (PNG, JPG, GIF, WebP, AVIF), a Vision model analyzes its content.
Image analysis use cases
Image analysis use cases
- Charts/graphs: Extract and analyze data points
- Document images: OCR-based text extraction
- UI design: Design feedback and code conversion
- Error screens: Analyze error messages and suggest fixes
- Photos: Object recognition, scene description
Document File Processing
For non-image files (PDF, DOCX, code files, etc.), text is extracted automatically at upload time.Upload the file
Attach a file using one of the methods above. During upload it shows an “uploading” state.
Text extraction
The server extracts the file contents automatically. Once complete, the state changes to “uploaded”.
Knowledge Base Integration (RAG)
Reference a Knowledge Base with #
Type # in the input box to see available Knowledge Base collections and individual files. The AI searches documents from the selected Knowledge Base or file and uses them in its answer.

How RAG Works
Agent-based RAG
When an agent has Knowledge Bases attached, it searches them automatically — no# command required.
Attach Knowledge Bases in Workspace > Agent settings.
Citation Display
Responses that referenced Knowledge Base or web search results show citations.
Citation List
A list of referenced documents appears below the response.| Item | Description |
|---|---|
| Index number | The citation order number |
| Source name | Original filename or URL |
| Source count toggle | Shows the total source count in “N Sources” format — click to expand the list |
Relevance (similarity score) is not shown in the citation list — view it inside the source modal opened by clicking a citation.
Reviewing the Source
Click a citation to open the source modal with the full retrieved chunk content.Files in Chat Controls
The Files section of the Chat Controls panel lists files attached to the current conversation.- Each item shows filename, type, and size
- The trash icon removes individual files
- Clicking a file shows its details
