> For the complete documentation index, see [llms.txt](https://docs.qolaba.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.qolaba.ai/chatbot/adding-context-and-resources/knowledge-bases.md).

# Knowledge Bases

A Knowledge Base is a structured, reusable collection of documents that the AI references before generating responses in chat. Instead of copying information into prompts repeatedly, upload your documents once — PDFs, DOCX, TXT files, images, or URLs — and attach the Knowledge Base to any chat or agent whenever that context is needed.

Qolaba's Knowledge Base system is powered by an upgraded **RAG (Retrieval-Augmented Generation)** engine, delivering more accurate document retrieval and deeper context understanding compared to standard file uploads.

***

### Why Use Knowledge Bases?

* **Context-aware responses** — The AI answers based on your actual documents, not just training data
* **No repetitive uploads** — Upload once, reuse across any chat or agent indefinitely
* **Domain-specific accuracy** — Ask questions directly about your reports, SOPs, brand guidelines, or research
* **Team consistency** — Share the same Knowledge Base across workspace members so everyone gets aligned outputs
* **Credit efficiency** — Avoid re-uploading the same files across multiple sessions

***

#### Example

A social media agency creates a Knowledge Base named `Competitor Research – Q1 2026` and uploads:

* Competitor case studies (PDF)
* Content strategy documents (DOCX)
* Analytics reports (PDF)
* Brand tone guidelines (TXT)

When a team member asks *"Create a content strategy based on competitor positioning"*, the model retrieves relevant sections from the uploaded material and grounds its response in that research — automatically, without any copy-pasting.

***

### Supported File Formats & Limits

<table><thead><tr><th width="281.60003662109375">File Type</th><th>Limit</th></tr></thead><tbody><tr><td><strong>PDF</strong></td><td>Up to 1,000 pages / 200 MB</td></tr><tr><td><strong>DOCX</strong></td><td>Up to 1,000 pages / 200 MB</td></tr><tr><td><strong>TXT</strong></td><td>Up to 200 MB</td></tr><tr><td><strong>Images</strong></td><td>Max 20 MB per image</td></tr><tr><td><strong>URLs</strong></td><td>Max 20 URLs per Knowledge Base</td></tr></tbody></table>

{% hint style="info" %}
Credits are consumed when uploading documents to a Knowledge Base. Credit deduction varies based on file size — larger files cost more to process.
{% endhint %}

***

#### Accessing Knowledge Bases

1. Go to the **left navigation panel**
2. Click the **Knowledge Base (File) icon**

This opens the Knowledge Base panel where you can view all existing Knowledge Bases or create a new one.
