> ## 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

<Steps>
  <Step title="Create">
    Choose **Create new** and give the knowledge base a name.
  </Step>

  <Step title="Add sources">
    Upload documents. Large files take up to a minute to process.
  </Step>

  <Step title="Ask or generate">
    Ask questions in chat, or open the **Studio** tab to generate an output from all sources.
  </Step>
</Steps>

| 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

<CardGroup cols={2}>
  <Card title="RedPill Chat overview" icon="message" href="/chat/overview" />

  <Card title="End-to-end encryption" icon="lock" href="/confidential-ai/e2e-encryption" />
</CardGroup>
