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

# 上传本地文件

<Note>
  知识库创建后，其数据源无法更改。
</Note>

快速创建知识库时，可上传本地文件作为其数据源：

1. 点击 **知识库** > **创建知识库**。

2. 选择 **导入已有文本** 作为数据源，然后上传文件。

   * 单次最多可上传 5 个文件（通过 `UPLOAD_FILE_BATCH_LIMIT` 设置）

   * 单个文件最大支持 15 MB（通过 `UPLOAD_FILE_SIZE_LIMIT` 设置）
