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

# Files

> Upload multiple files up to 100MB in size

### Accepted file types

* PDF
* DocX
* txt

## How do I add a file to my knowledge base?

1. Go to the **Knowledge Base** of the Library you want to add a PDF to.

2. Click `Add Knowledge` button.

<Frame>
  <img src="https://mintlify.s3-us-west-1.amazonaws.com/bogpad/images/adding-documents/pdfs/add-docs-2.png" alt="Add Knowledge" />
</Frame>

3. Select **Add a file** from the Add Knowledge window.

<Frame>
  <img src="https://mintlify.s3-us-west-1.amazonaws.com/bogpad/images/adding-documents/pdfs/add-pdf-1.png" alt="Add a file" />
</Frame>

The page will be changed to enable you to upload PDF, DocX, and txt files.

<Frame>
  <img src="https://mintlify.s3-us-west-1.amazonaws.com/bogpad/images/adding-documents/pdfs/add-pdf-2.png" alt="Add a PDF" />
</Frame>

There are 2 ways to add a file to your knowledge base

#### Drag and Drop

1. You can upload files by clicking on the **Drag and drop** area and selecting the files from your computer.

<Frame>
  <img src="https://mintlify.s3-us-west-1.amazonaws.com/bogpad/images/adding-documents/files/drag-drop-1.png" alt="Click drag and drop" />
</Frame>

Or simply dragging the files from your computer to the **Drag and drop** area.

<Frame>
  <img src="https://mintlify.s3-us-west-1.amazonaws.com/bogpad/images/adding-documents/files/drag-drop-2.png" alt="Drag then drop" />
</Frame>

2. Click the `Submit` button to add the files to your knowledge base. The number of credits used will be displayed on the button.

<Frame>
  <img src="https://mintlify.s3-us-west-1.amazonaws.com/bogpad/images/adding-documents/files/drag-drop-3.png" alt="Submit" />
</Frame>

#### CSV
