> ## Documentation Index
> Fetch the complete documentation index at: https://docs.redpill.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Private knowledge

> Upload documents into a knowledge base, ask questions with citations, and generate summaries, FAQs, mind maps, and audio overviews.

A knowledge base is a set of documents you upload once and query from chat. Files are encrypted
before upload and processed inside the attested gateway. Answers cite the source passage; open a
citation to read the original text.

## Create a knowledge base

**1. Create**

Choose **Create new** and give the knowledge base a name.

**2. Add sources**

Upload documents. Large files take up to a minute to process.

**3. Ask or generate**

Ask questions in chat, or open the **Studio** tab to generate an output from all sources.

| Format | Extensions | Maximum size |
| - | - | - |
| Documents | `.pdf`, `.docx`, `.doc` | 50 MB |
| Text | `.txt`, `.md`, `.rtf` | 10 MB |
| Code | `.py`, `.js`, `.ts`, `.java`, and others | 10 MB |
| Data | `.csv`, `.json` | 25 MB |

## Studio outputs

| Output | Content |
| - | - |
| Summary | Overview of all sources |
| Briefing doc | Detailed briefing for stakeholders |
| FAQ | Questions and answers drawn from the sources |
| Timeline | Events in chronological order |
| Mind map | Concept map of topics and relationships |
| Audio overview | Spoken summary |

Generation takes from half a minute to a few minutes. Pin an output to keep it, or export it.

## Limits

| Plan | Storage | Documents |
| - | - | - |
| Free | 10 MB | 10 |
| Pro | 10 GB | 100 |
| Enterprise | Custom | Unlimited |

Enterprise plans can share a knowledge base within a team. Deleting a knowledge base deletes its
files and generated outputs.

## Related

> [card] [RedPill Chat overview](https://docs.redpill.ai/chat/overview.md)

> [card] [End-to-end encryption](https://docs.redpill.ai/confidential-ai/e2e-encryption.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.