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

# File Upload

[Back to list of knowledge sources](https://koreai.mintlify.site/agent-platform/integrations/knowledge-sources.md)

Use File Upload to add local files to a knowledge base. The platform detects the content, chunks and embeds it, and makes it searchable automatically. Agents then retrieve that content to answer questions. File Upload needs no auth profile and no external system.

## How the source works

You upload files from your computer. The platform processes each file and adds it to the knowledge base.

```mermaid theme={null}
flowchart LR
  A[Local files] --> B[Detect content]
  B --> C[Chunk and embed]
  C --> D[Knowledge base]
```

> [accordion] What happens at each stage
>
> 1. You drop files on the upload area, or browse to them.
> 2. The platform detects each file's content.
> 3. It chunks and embeds the content.
> 4. It indexes the chunks, so agents can retrieve them.

## Before you begin

Make sure that you have the following:

* Files in a supported format, of up to 100 MB each.
* A knowledge base in your project, and permission to add sources to it.

## Step 1: Prepare the files

Check each file before you upload it.

1. Use a supported format: PDF, DOCX, TXT, CSV, MD, XLSX, JSON, or HTML.
2. Split any file larger than 100 MB.
3. Remove drafts and files that users shouldn't see.

## Step 2: Upload the files

Upload files from the knowledge base overview.

**1. Open the knowledge base**

Go to **Knowledge Bases**, and then open your knowledge base.

**2. Upload**

On **Overview**, under **Upload files**, drop the files on the upload area, or select **Browse files**.

**3. Check the results**

Wait for processing to finish, and then confirm the results in **Search & Test**.

> [!TIP]
>
> For question and answer content, use the [FAQ source](https://koreai.mintlify.site/agent-platform/connectors/faq) instead. It supports alternate questions and per-field control.

## Sync behavior

Uploaded files don't sync. To update content, upload the new version of the file.

## Permissions

File Upload doesn't apply permissions. Every user who can search the knowledge base can retrieve every uploaded file.

> [!WARNING]
>
> Upload only content that all knowledge base users may see. Use separate knowledge bases for content with different audiences.

## Limits and considerations

Keep these limits in mind when you upload files.

* Each file can be up to 100 MB.
* Supported formats are PDF, DOCX, TXT, CSV, MD, XLSX, JSON, and HTML.
* For images, audio, and video, use **Rich Media** when it becomes available.

## Troubleshoot common issues

Most issues come from the file format or size. Find your symptom in the table, and then apply the solution.

| Symptom | Solution |
| - | - |
| The upload area rejects a file. | Convert it to a supported format. |
| The upload fails for a large file. | Split the file into files of up to 100 MB each. |
| Search returns outdated content. | Upload the new version of the file. |

## Related articles

Learn more about file sources.

* [FAQ source](https://koreai.mintlify.site/agent-platform/connectors/faq)
* [SFTP connector](https://koreai.mintlify.site/agent-platform/connectors/sftp)


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