diff --git a/docs.json b/docs.json
index bc3d34b8d..9e944edcf 100644
--- a/docs.json
+++ b/docs.json
@@ -214,7 +214,8 @@
},
"en/cloud/use-dify/knowledge/test-retrieval",
"en/cloud/use-dify/knowledge/integrate-knowledge-within-application",
- "en/cloud/use-dify/knowledge/knowledge-request-rate-limit"
+ "en/cloud/use-dify/knowledge/knowledge-request-rate-limit",
+ "en/cloud/use-dify/knowledge/knowledge-storage-limit"
],
"icon": "book"
},
@@ -1605,7 +1606,8 @@
},
"zh/cloud/use-dify/knowledge/test-retrieval",
"zh/cloud/use-dify/knowledge/integrate-knowledge-within-application",
- "zh/cloud/use-dify/knowledge/knowledge-request-rate-limit"
+ "zh/cloud/use-dify/knowledge/knowledge-request-rate-limit",
+ "zh/cloud/use-dify/knowledge/knowledge-storage-limit"
],
"icon": "book"
},
@@ -2996,7 +2998,8 @@
},
"ja/cloud/use-dify/knowledge/test-retrieval",
"ja/cloud/use-dify/knowledge/integrate-knowledge-within-application",
- "ja/cloud/use-dify/knowledge/knowledge-request-rate-limit"
+ "ja/cloud/use-dify/knowledge/knowledge-request-rate-limit",
+ "ja/cloud/use-dify/knowledge/knowledge-storage-limit"
],
"icon": "book"
},
diff --git a/en/api-reference/openapi_service.json b/en/api-reference/openapi_service.json
index 3c657b2eb..c35081122 100644
--- a/en/api-reference/openapi_service.json
+++ b/en/api-reference/openapi_service.json
@@ -5804,7 +5804,7 @@
"file": {
"type": "string",
"format": "binary",
- "description": "File to upload."
+ "description": "File to upload, capped at 15 MB by default.\n\nSelf-hosted deployments adjust the limit with the `UPLOAD_FILE_SIZE_LIMIT` [environment variable](/en/self-host/deploy/configuration/environments). On Dify Cloud, Professional and Team plans raise the cap to 50 MB."
},
"data": {
"type": "string",
@@ -5988,6 +5988,23 @@
}
}
}
+ },
+ "413": {
+ "description": "`file_too_large` : The uploaded file exceeds the maximum size.",
+ "content": {
+ "application/json": {
+ "examples": {
+ "file_too_large": {
+ "summary": "file_too_large",
+ "value": {
+ "status": 413,
+ "code": "file_too_large",
+ "message": "File size exceeded."
+ }
+ }
+ }
+ }
+ }
}
},
"x-mint": {
@@ -6714,7 +6731,7 @@
"file": {
"type": "string",
"format": "binary",
- "description": "File to upload."
+ "description": "File to upload, capped at 15 MB by default.\n\nSelf-hosted deployments adjust the limit with the `UPLOAD_FILE_SIZE_LIMIT` [environment variable](/en/self-host/deploy/configuration/environments). On Dify Cloud, Professional and Team plans raise the cap to 50 MB."
},
"data": {
"type": "string",
@@ -7594,7 +7611,7 @@
"file": {
"type": "string",
"format": "binary",
- "description": "File to upload."
+ "description": "File to upload, capped at 15 MB by default.\n\nSelf-hosted deployments adjust the limit with the `UPLOAD_FILE_SIZE_LIMIT` [environment variable](/en/self-host/deploy/configuration/environments). On Dify Cloud, Professional and Team plans raise the cap to 50 MB."
},
"data": {
"type": "string",
@@ -12139,7 +12156,7 @@
"file": {
"type": "string",
"format": "binary",
- "description": "The file to upload, as one `multipart/form-data` part."
+ "description": "The file to upload, as one `multipart/form-data` part. Document files are capped at 15 MB by default.\n\nSelf-hosted deployments adjust the limit with the `UPLOAD_FILE_SIZE_LIMIT` [environment variable](/en/self-host/deploy/configuration/environments).\n\nOn Dify Cloud, Professional and Team plans raise the document cap to 50 MB. Images, audio, and video follow their own limits: 10 MB, 50 MB, and 100 MB by default."
}
}
}
@@ -19446,4 +19463,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/en/cloud/use-dify/knowledge/create-knowledge/import-text-data/readme.mdx b/en/cloud/use-dify/knowledge/create-knowledge/import-text-data/readme.mdx
index b2cec234b..1eb6285d3 100644
--- a/en/cloud/use-dify/knowledge/create-knowledge/import-text-data/readme.mdx
+++ b/en/cloud/use-dify/knowledge/create-knowledge/import-text-data/readme.mdx
@@ -12,13 +12,12 @@ When creating a ready-to-use knowledge base, you can upload local files as its d
2. Select **Import from file** as the data source, then upload your files.
- - Maximum number of files per upload: 5
+Upload limits vary by plan:
- - Maximum file size: 15 MB
-
-
- Batch uploading (up to 50 files per upload) is available on Professional and Team. [Learn more](https://dify.ai/pricing).
-
+| | Sandbox | Professional & Team |
+|:--|:--|:--|
+| Files per upload | 1 | 50 |
+| Size per file | 15 MB | 50 MB |
---
diff --git a/en/cloud/use-dify/knowledge/create-knowledge/setting-indexing-methods.mdx b/en/cloud/use-dify/knowledge/create-knowledge/setting-indexing-methods.mdx
index b161282fe..2317a9c23 100644
--- a/en/cloud/use-dify/knowledge/create-knowledge/setting-indexing-methods.mdx
+++ b/en/cloud/use-dify/knowledge/create-knowledge/setting-indexing-methods.mdx
@@ -21,6 +21,8 @@ The knowledge base offers two index methods: **High-Quality** and **Economical**
Think of these vectors as coordinates in a multi-dimensional space—the closer two points are, the more similar their meanings. This allows the system to find relevant information based on semantic similarity, not just exact keyword matches.
+ These vectors count toward your workspace's knowledge storage. See [Knowledge Data Storage Limit](/en/cloud/use-dify/knowledge/knowledge-storage-limit) for per-plan capacity and what happens at the limit.
+
To enable cross-modal retrieval—retrieving both text and images based on semantic relevance—select a multimodal embedding model (marked with a **Vision** icon). Images extracted from documents will then be embedded and indexed for retrieval.
diff --git a/en/cloud/use-dify/knowledge/knowledge-pipeline/knowledge-pipeline-orchestration.mdx b/en/cloud/use-dify/knowledge/knowledge-pipeline/knowledge-pipeline-orchestration.mdx
index 8e9326bcd..b88dff5c1 100644
--- a/en/cloud/use-dify/knowledge/knowledge-pipeline/knowledge-pipeline-orchestration.mdx
+++ b/en/cloud/use-dify/knowledge/knowledge-pipeline/knowledge-pipeline-orchestration.mdx
@@ -76,9 +76,9 @@ Upload local files through drag-and-drop or file selection.
| Item | Description |
| ------------- | ------------------------------------------------------------------------------------ |
-| File Quantity | Maximum 50 files per upload |
-| File Size | Each file must not exceed 15MB |
-| Storage | Total document uploads and storage space vary by subscription plan |
+| File Quantity | 1 file per upload on Sandbox; up to 50 on Professional and Team |
+| File Size | 15 MB per file; 50 MB on Professional and Team |
+| Storage | Total document count and knowledge storage vary by plan. |
**Output Variables**
diff --git a/en/cloud/use-dify/knowledge/knowledge-storage-limit.mdx b/en/cloud/use-dify/knowledge/knowledge-storage-limit.mdx
new file mode 100644
index 000000000..f998bca6d
--- /dev/null
+++ b/en/cloud/use-dify/knowledge/knowledge-storage-limit.mdx
@@ -0,0 +1,57 @@
+---
+title: Knowledge Data Storage Limit
+sidebarTitle: Data Storage Limit
+description: What counts toward your plan's knowledge storage, what happens when you reach the limit, and how to free space
+---
+
+Every document indexed with the **High Quality** [index method](/en/cloud/use-dify/knowledge/create-knowledge/setting-indexing-methods) stores its chunks as vectors (the numeric form that powers retrieval), and those vectors count toward your workspace's knowledge storage.
+
+Each plan includes a fixed amount:
+
+| Plan | Storage |
+|:-----|:--------|
+| Sandbox | 50 MB |
+| Professional | 5 GB |
+| Team | 20 GB |
+
+The workspace owner and admins can check current usage in **Settings** > **Billing** > **Knowledge Data Storage**.
+
+## What Consumes Storage
+
+Usage depends on how many vectors your documents produce, not on their raw file size. The more chunks a document is split into, the more vectors it produces.
+
+
+In [Parent-child mode](/en/cloud/use-dify/knowledge/create-knowledge/chunking-and-cleaning-text), every child chunk becomes a vector.
+
+
+The embedding model matters too: each model outputs vectors of a fixed length, listed in the provider's documentation as its number of dimensions. For example, OpenAI's `text-embedding-3-large` uses nearly twice the storage per chunk of `text-embedding-3-small`.
+
+As a result, a document can use several times its own file size in storage once indexed.
+
+Documents indexed with the **Economical** method use keyword indexing instead of vectors and don't consume storage.
+
+Usage reflects the actual storage your vectors occupy, measured periodically, so a delay is expected before the number changes after an upload or deletion.
+
+## When an Upload Would Exceed the Limit
+
+Every upload is checked before indexing. When the estimated total storage after the upload would exceed your plan's capacity, the document is kept in the document list but not indexed.
+
+To bring it under the limit, split the file into smaller uploads, or raise the chunk size in the document's [chunk settings](/en/cloud/use-dify/knowledge/create-knowledge/chunking-and-cleaning-text) so it produces fewer chunks, though larger chunks make each retrieved passage longer and less precise.
+
+Alternatively, upgrade your plan for more capacity, then try again.
+
+## When Storage Is Full
+
+Once usage reaches your plan's limit, the workspace can no longer add knowledge content.
+
+Uploading documents, adding or editing chunks, restoring archived documents, and re-indexing operations such as changing chunk settings are all blocked, including in knowledge bases that use **Economical** indexing.
+
+To restore these actions, free space or upgrade your plan.
+
+If a downgrade or an expired subscription leaves your data above the new plan's limit, nothing is deleted: your apps can still retrieve from these knowledge bases, but adding content stays blocked until usage fits the limit or you upgrade again.
+
+## Free Up Storage
+
+Delete the documents or knowledge bases you no longer need. Their vectors are removed, and the space returns to your quota.
+
+The usage shown in **Settings** > **Billing** refreshes on a delay, so the number takes a while to drop after a deletion.
\ No newline at end of file
diff --git a/ja/api-reference/openapi_service.json b/ja/api-reference/openapi_service.json
index dc5bcb0d6..68fa0694c 100644
--- a/ja/api-reference/openapi_service.json
+++ b/ja/api-reference/openapi_service.json
@@ -5804,7 +5804,7 @@
"file": {
"type": "string",
"format": "binary",
- "description": "アップロードするファイルです。"
+ "description": "アップロードするファイルです。デフォルトの上限は 15 MB です。\n\nセルフホスト環境では `UPLOAD_FILE_SIZE_LIMIT` [環境変数](/ja/self-host/deploy/configuration/environments) で調整できます。Dify Cloud の Professional と Team プランでは上限が 50 MB になります。"
},
"data": {
"type": "string",
@@ -5988,6 +5988,23 @@
}
}
}
+ },
+ "413": {
+ "description": "`file_too_large` : ファイルサイズが上限を超えています。",
+ "content": {
+ "application/json": {
+ "examples": {
+ "file_too_large": {
+ "summary": "file_too_large",
+ "value": {
+ "status": 413,
+ "code": "file_too_large",
+ "message": "File size exceeded."
+ }
+ }
+ }
+ }
+ }
}
},
"x-mint": {
@@ -6714,7 +6731,7 @@
"file": {
"type": "string",
"format": "binary",
- "description": "アップロードするファイルです。"
+ "description": "アップロードするファイルです。デフォルトの上限は 15 MB です。\n\nセルフホスト環境では `UPLOAD_FILE_SIZE_LIMIT` [環境変数](/ja/self-host/deploy/configuration/environments) で調整できます。Dify Cloud の Professional と Team プランでは上限が 50 MB になります。"
},
"data": {
"type": "string",
@@ -7594,7 +7611,7 @@
"file": {
"type": "string",
"format": "binary",
- "description": "アップロードするファイルです。"
+ "description": "アップロードするファイルです。デフォルトの上限は 15 MB です。\n\nセルフホスト環境では `UPLOAD_FILE_SIZE_LIMIT` [環境変数](/ja/self-host/deploy/configuration/environments) で調整できます。Dify Cloud の Professional と Team プランでは上限が 50 MB になります。"
},
"data": {
"type": "string",
@@ -12139,7 +12156,7 @@
"file": {
"type": "string",
"format": "binary",
- "description": "アップロードするファイル。`multipart/form-data` の 1 パートとして送信します。"
+ "description": "アップロードするファイル。`multipart/form-data` の 1 パートとして送信します。ドキュメントファイルのデフォルト上限は 15 MB です。\n\nセルフホスト環境では `UPLOAD_FILE_SIZE_LIMIT` [環境変数](/ja/self-host/deploy/configuration/environments) で調整できます。\n\nDify Cloud の Professional と Team プランではドキュメントの上限が 50 MB になります。画像・音声・動画ファイルには別の上限があり、デフォルトはそれぞれ 10 MB、50 MB、100 MB です。"
}
}
}
@@ -19446,4 +19463,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/ja/cloud/use-dify/knowledge/create-knowledge/import-text-data/readme.mdx b/ja/cloud/use-dify/knowledge/create-knowledge/import-text-data/readme.mdx
index 180c24741..fc8baa607 100644
--- a/ja/cloud/use-dify/knowledge/create-knowledge/import-text-data/readme.mdx
+++ b/ja/cloud/use-dify/knowledge/create-knowledge/import-text-data/readme.mdx
@@ -14,14 +14,12 @@ title: ローカルファイルをアップロード
2. データソースとして **既存テキストをインポート** を選択し、ファイルをアップロードします。
- - 1 回のアップロードで選択できるファイル数の上限:5
-
- - ファイルサイズの上限:15 MB
-
-
- バッチアップロード(1 回につき最大 50 ファイル)は Professional と Team で利用できます。[詳細](https://dify.ai/jp/pricing)。
-
+アップロードの上限はプランによって異なります([詳細](https://dify.ai/jp/pricing))。
+| | Sandbox | Professional と Team |
+|:--|:--|:--|
+| 1 回あたりのファイル数 | 1 | 50 |
+| 1 ファイルあたりのサイズ | 15 MB | 50 MB |
---
**アップロードファイル内の画像について**
@@ -39,7 +37,7 @@ title: ローカルファイルをアップロード
- DOCX および XLSX ファイルに埋め込まれた画像
- その他のファイルタイプ(例:PDF)に埋め込まれた画像は、[ナレッジパイプライン](/ja/cloud/use-dify/knowledge/knowledge-pipeline/readme)で適切な文書抽出プラグインを使用して抽出できます。
+ その他のファイルタイプ(例:PDF)に埋め込まれた画像は、[ナレッジパイプライン](/ja/cloud/use-dify/knowledge/knowledge-pipeline/readme) で適切な文書抽出プラグインを使用して抽出できます。
- 任意のファイルタイプで、以下の Markdown 記法でアクセス可能な URL を介して参照される画像:
diff --git a/ja/cloud/use-dify/knowledge/create-knowledge/setting-indexing-methods.mdx b/ja/cloud/use-dify/knowledge/create-knowledge/setting-indexing-methods.mdx
index 402ebdb02..ff7ccfc34 100644
--- a/ja/cloud/use-dify/knowledge/create-knowledge/setting-indexing-methods.mdx
+++ b/ja/cloud/use-dify/knowledge/create-knowledge/setting-indexing-methods.mdx
@@ -23,6 +23,8 @@ title: インデックス方法と検索設定を指定
これらのベクトルは多次元空間上の座標のようなものです。2 つの点の距離が近いほど、それらの意味が近いことを示しています。このしくみにより、システムは単なるキーワード一致ではなく、意味的な類似性に基づいて関連情報を検索できます。
+ これらのベクトルはワークスペースのナレッジストレージを消費します。プランごとの容量と上限到達時の動作は [ナレッジベースのデータストレージ制限](/ja/cloud/use-dify/knowledge/knowledge-storage-limit) を参照してください。
+
クロスモーダル検索(テキストと画像を意味的関連性に基づいて取得)を有効にするには、マルチモーダル埋め込みモデル(**Vision** アイコン付き)を選択してください。ドキュメントから抽出された画像もベクトル化され、検索用にインデックス化されます。
diff --git a/ja/cloud/use-dify/knowledge/knowledge-pipeline/knowledge-pipeline-orchestration.mdx b/ja/cloud/use-dify/knowledge/knowledge-pipeline/knowledge-pipeline-orchestration.mdx
index c1f6c2b87..e46728d44 100644
--- a/ja/cloud/use-dify/knowledge/knowledge-pipeline/knowledge-pipeline-orchestration.mdx
+++ b/ja/cloud/use-dify/knowledge/knowledge-pipeline/knowledge-pipeline-orchestration.mdx
@@ -79,9 +79,9 @@ title: ステップ 2:ナレッジパイプラインをオーケストレー
| 項目 | 説明 |
|--------------|-------------------------------------------------|
-| ファイル数 | 1 回あたり最大 50 ファイル |
-| ファイルサイズ | 1 ファイルあたり最大 15 MB |
-| ストレージ | アップロード総数とストレージ容量はサブスクリプションプランによって異なります |
+| ファイル数 | Sandbox は 1 回につき 1 ファイル、Professional と Team は最大 50 ファイル |
+| ファイルサイズ | 1 ファイルあたり最大 15 MB(Professional と Team は 50 MB) |
+| ストレージ | ドキュメント総数とナレッジストレージはプランによって異なる |
**出力変数**
diff --git a/ja/cloud/use-dify/knowledge/knowledge-storage-limit.mdx b/ja/cloud/use-dify/knowledge/knowledge-storage-limit.mdx
new file mode 100644
index 000000000..794351228
--- /dev/null
+++ b/ja/cloud/use-dify/knowledge/knowledge-storage-limit.mdx
@@ -0,0 +1,59 @@
+---
+title: ナレッジベースのデータストレージ制限
+sidebarTitle: データストレージ制限
+description: プランごとのナレッジストレージ容量、上限に達したときの動作、容量の解放方法
+---
+
+> このドキュメントは AI によって自動翻訳されています。不正確な部分がある場合は、[英語版](/en/cloud/use-dify/knowledge/knowledge-storage-limit) を参照してください。
+
+**高品質** [インデックス方法](/ja/cloud/use-dify/knowledge/create-knowledge/setting-indexing-methods) で索引したドキュメントは、チャンクをベクトル(検索に使う数値表現)として保存し、ワークスペースのナレッジストレージを消費します。
+
+各プランの容量は次のとおりです。
+
+| プラン | ストレージ |
+|:-------|:-----------|
+| Sandbox | 50 MB |
+| Professional | 5 GB |
+| Team | 20 GB |
+
+現在の使用量は、ワークスペースのオーナーと管理者が **設定** > **請求** > **ナレッジベースのデータストレージ** で確認できます。
+
+## ストレージを消費する要素
+
+使用量は、ファイルサイズではなく、ドキュメントから生成されるベクトルの数で決まります。チャンクの数が多いほど、ベクトルも増えます。
+
+
+[親子モード](/ja/cloud/use-dify/knowledge/create-knowledge/chunking-and-cleaning-text) では、子チャンクごとに 1 つのベクトルになります。
+
+
+埋め込みモデルも影響します。モデルごとにベクトルの長さは固定で、次元数としてプロバイダーのドキュメントに記載されています。たとえば OpenAI の `text-embedding-3-large` は、`text-embedding-3-small` に比べ、1 チャンクあたり約 2 倍のストレージを使います。
+
+そのため、インデックス後のドキュメントは、ファイルサイズの数倍のストレージを使うことがあります。
+
+**経済的** インデックス方法のドキュメントは、キーワードで索引されるためベクトルを生成せず、ストレージを消費しません。
+
+使用量はベクトルが実際に占めるストレージを定期的に計測した値です。アップロードや削除の後、数値の反映には時間がかかります。
+
+## アップロードが上限を超える場合
+
+アップロードはインデックス前にチェックされます。アップロード後の推定合計がプランの容量を超える場合、ドキュメントは一覧に残りますが、インデックスされません。
+
+上限内に収めるには、ファイルを分割してアップロードするか、[チャンク設定](/ja/cloud/use-dify/knowledge/create-knowledge/chunking-and-cleaning-text) でチャンクサイズを大きくしてチャンク数を減らします。ただし、チャンクが大きいほど、検索で返る箇所は長くなり、精度は下がります。
+
+プランをアップグレードして容量を増やしてから、再試行する方法もあります。
+
+## ストレージが上限に達した場合
+
+使用量がプランの上限に達すると、ワークスペースにナレッジコンテンツを追加できなくなります。
+
+ドキュメントのアップロード、チャンクの追加や編集、アーカイブ済みドキュメントの復元、チャンク設定の変更などの再インデックス操作はすべてブロックされます。**経済的** インデックスのナレッジベースも同様です。
+
+容量を解放するか、プランをアップグレードすると操作が回復します。
+
+ダウングレードやサブスクリプションの期限切れで既存データが新しいプランの上限を超えた場合も、データは削除されません。アプリからの検索は引き続き利用できますが、使用量が上限内に収まるか再度アップグレードするまで、新しいコンテンツは追加できません。
+
+## ストレージ容量の解放
+
+不要になったドキュメントやナレッジベースを削除すると、そのベクトルが削除され、容量が戻ります。
+
+**設定** > **請求** の使用量表示の更新には遅延があるため、削除後しばらくは数値が下がりません。
diff --git a/tools/translate/termbase_i18n.md b/tools/translate/termbase_i18n.md
index 6f945ef9a..c529cddba 100644
--- a/tools/translate/termbase_i18n.md
+++ b/tools/translate/termbase_i18n.md
@@ -231,6 +231,7 @@
| Professional | Professional | Professional |
| Team | Team | Team |
| Upgrade | 升级 | アップグレード |
+| Knowledge Data Storage | 知识库数据存储空间 | ナレッジベースのデータストレージ |
### Workspace Roles
diff --git a/writing-guides/glossary.md b/writing-guides/glossary.md
index 7f180da18..0e7982c73 100644
--- a/writing-guides/glossary.md
+++ b/writing-guides/glossary.md
@@ -239,6 +239,7 @@ Terms in this section must match the Dify product interface exactly. When these
| Professional | Professional | Professional | billing.plans.professional.name | Paid tier; kept English in all locales |
| Team | Team | Team | billing.plans.team.name | Paid tier; kept English in all locales |
| Upgrade | 升级 | アップグレード | billing.upgradeBtn.encourageShort | Short variant; "Upgrade Now" is the full label (`encourage` key) |
+| Knowledge Data Storage | 知识库数据存储空间 | ナレッジベースのデータストレージ | billing.usagePage.vectorSpace | Usage row in **Settings** > **Billing**; consumed by High Quality-indexed documents |
### Workspace Roles
diff --git a/zh/api-reference/openapi_service.json b/zh/api-reference/openapi_service.json
index aca5eac5d..116f90117 100644
--- a/zh/api-reference/openapi_service.json
+++ b/zh/api-reference/openapi_service.json
@@ -5804,7 +5804,7 @@
"file": {
"type": "string",
"format": "binary",
- "description": "要上传的文件。"
+ "description": "要上传的文件,默认上限 15 MB。\n\n自部署可通过 `UPLOAD_FILE_SIZE_LIMIT` [环境变量](/zh/self-host/deploy/configuration/environments) 调整。Dify Cloud 的 Professional 和 Team 套餐上限为 50 MB。"
},
"data": {
"type": "string",
@@ -5988,6 +5988,23 @@
}
}
}
+ },
+ "413": {
+ "description": "`file_too_large` : 上传的文件超出最大大小限制。",
+ "content": {
+ "application/json": {
+ "examples": {
+ "file_too_large": {
+ "summary": "file_too_large",
+ "value": {
+ "status": 413,
+ "code": "file_too_large",
+ "message": "File size exceeded."
+ }
+ }
+ }
+ }
+ }
}
},
"x-mint": {
@@ -6714,7 +6731,7 @@
"file": {
"type": "string",
"format": "binary",
- "description": "要上传的文件。"
+ "description": "要上传的文件,默认上限 15 MB。\n\n自部署可通过 `UPLOAD_FILE_SIZE_LIMIT` [环境变量](/zh/self-host/deploy/configuration/environments) 调整。Dify Cloud 的 Professional 和 Team 套餐上限为 50 MB。"
},
"data": {
"type": "string",
@@ -7594,7 +7611,7 @@
"file": {
"type": "string",
"format": "binary",
- "description": "要上传的文件。"
+ "description": "要上传的文件,默认上限 15 MB。\n\n自部署可通过 `UPLOAD_FILE_SIZE_LIMIT` [环境变量](/zh/self-host/deploy/configuration/environments) 调整。Dify Cloud 的 Professional 和 Team 套餐上限为 50 MB。"
},
"data": {
"type": "string",
@@ -12139,7 +12156,7 @@
"file": {
"type": "string",
"format": "binary",
- "description": "要上传的文件,作为 `multipart/form-data` 的一个部分。"
+ "description": "要上传的文件,作为 `multipart/form-data` 的一个部分。文档文件默认上限 15 MB。\n\n自部署可通过 `UPLOAD_FILE_SIZE_LIMIT` [环境变量](/zh/self-host/deploy/configuration/environments) 调整。\n\nDify Cloud 的 Professional 和 Team 套餐的文档上限为 50 MB。图片、音频、视频文件各有独立上限,默认分别为 10 MB、50 MB、100 MB。"
}
}
}
@@ -19446,4 +19463,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/zh/cloud/use-dify/knowledge/create-knowledge/import-text-data/readme.mdx b/zh/cloud/use-dify/knowledge/create-knowledge/import-text-data/readme.mdx
index c0906b448..2dc522a54 100644
--- a/zh/cloud/use-dify/knowledge/create-knowledge/import-text-data/readme.mdx
+++ b/zh/cloud/use-dify/knowledge/create-knowledge/import-text-data/readme.mdx
@@ -14,14 +14,12 @@ title: 上传本地文件
2. 选择 **导入已有文本** 作为数据源,然后上传文件。
- - 单次最多可上传 5 个文件
-
-
- **批量上传**(单次最多 50 个文件)适用于 Professional 和 Team 套餐。[了解更多](https://dify.ai/zh/pricing)。
-
-
- - 单个文件最大支持 15 MB
+上传限制因套餐而异([了解更多](https://dify.ai/zh/pricing)):
+| | Sandbox | Professional 和 Team |
+|:--|:--|:--|
+| 单次上传文件数 | 1 | 50 |
+| 单个文件大小 | 15 MB | 50 MB |
---
**对于文件中的图片**
@@ -39,7 +37,7 @@ title: 上传本地文件
- DOCX 和 XLSX 文件中嵌入的图片
- 其他文件类型(如 PDF)中嵌入的图片,可通过在[知识流水线](/zh/cloud/use-dify/knowledge/knowledge-pipeline/readme)中使用合适的文档提取插件进行提取。
+ 其他文件类型(如 PDF)中嵌入的图片,可通过在 [知识流水线](/zh/cloud/use-dify/knowledge/knowledge-pipeline/readme) 中使用合适的文档提取插件进行提取。
- 在任何文件类型中,通过以下 Markdown 语法引用、URL 可访问的图片:
diff --git a/zh/cloud/use-dify/knowledge/create-knowledge/setting-indexing-methods.mdx b/zh/cloud/use-dify/knowledge/create-knowledge/setting-indexing-methods.mdx
index f9d1f700b..cb75f1049 100644
--- a/zh/cloud/use-dify/knowledge/create-knowledge/setting-indexing-methods.mdx
+++ b/zh/cloud/use-dify/knowledge/create-knowledge/setting-indexing-methods.mdx
@@ -24,6 +24,8 @@ sidebarTitle: 设置索引与检索
这些向量可理解为多维空间中的坐标点。两个点越接近,它们的语义越相似。这使得系统能够基于语义相似度(而不仅仅是关键词匹配)找到相关信息。
+ 这些向量会计入工作空间的知识库存储空间,各套餐的容量与达到上限后的影响详见 [知识库数据存储空间限制](/zh/cloud/use-dify/knowledge/knowledge-storage-limit)。
+
若要启用跨模态检索(即基于语义相关性同时检索文本和图片),需选择多模态嵌入模型(带有 **Vision** 图标)。从文档中提取的图片将被嵌入并索引以供检索。
diff --git a/zh/cloud/use-dify/knowledge/knowledge-pipeline/knowledge-pipeline-orchestration.mdx b/zh/cloud/use-dify/knowledge/knowledge-pipeline/knowledge-pipeline-orchestration.mdx
index 3c8110e57..e2bf5fab6 100644
--- a/zh/cloud/use-dify/knowledge/knowledge-pipeline/knowledge-pipeline-orchestration.mdx
+++ b/zh/cloud/use-dify/knowledge/knowledge-pipeline/knowledge-pipeline-orchestration.mdx
@@ -76,9 +76,9 @@ title: "步骤二:编排知识流水线"
| 限制项 | 说明 |
| ---- | --------------------------------- |
-| 文件数量 | 每次最多上传 50 个文件 |
-| 文件大小 | 每个文件大小不超过 15MB |
-| 储存限制 | 不同 SaaS 版本的订阅计划对文档上传总数和向量存储空间有所限制 |
+| 文件数量 | Sandbox 每次上传 1 个文件;Professional 和 Team 每次最多 50 个 |
+| 文件大小 | 单个文件 15 MB;Professional 和 Team 为 50 MB |
+| 储存限制 | 文档总数与知识库存储空间因套餐而异 |
**输出变量**
diff --git a/zh/cloud/use-dify/knowledge/knowledge-storage-limit.mdx b/zh/cloud/use-dify/knowledge/knowledge-storage-limit.mdx
new file mode 100644
index 000000000..4083a7461
--- /dev/null
+++ b/zh/cloud/use-dify/knowledge/knowledge-storage-limit.mdx
@@ -0,0 +1,59 @@
+---
+title: 知识库数据存储空间限制
+sidebarTitle: 数据存储空间限制
+description: 各套餐的知识库存储空间额度、达到上限后的影响,以及如何释放空间
+---
+
+> 本文档由 AI 自动翻译。如有任何不准确之处,请参考 [英文原版](/en/cloud/use-dify/knowledge/knowledge-storage-limit)。
+
+以 **高质量** [索引方式](/zh/cloud/use-dify/knowledge/create-knowledge/setting-indexing-methods) 索引的文档,其分段会以向量(用于检索的数值表示)形式存储,计入工作空间的知识库存储空间。
+
+各套餐的额度如下:
+
+| 套餐 | 存储空间 |
+|:-----|:---------|
+| Sandbox | 50 MB |
+| Professional | 5 GB |
+| Team | 20 GB |
+
+工作空间所有者和管理员可在 **设置** > **账单** > **知识库数据存储空间** 查看当前用量。
+
+## 存储空间的消耗方式
+
+用量取决于文档产生的向量数量,而非文件本身的大小。分段越多,产生的向量就越多。
+
+
+[父子模式](/zh/cloud/use-dify/knowledge/create-knowledge/chunking-and-cleaning-text) 下,每个子分段都是一个向量。
+
+
+嵌入模型也有影响:每个模型输出的向量长度是固定的,即模型的维度数,供应商文档中会标明。例如 OpenAI 的 `text-embedding-3-large` 每个分段的占用接近 `text-embedding-3-small` 的两倍。
+
+因此,文档索引后占用的空间可能是其文件大小的数倍。
+
+以 **经济** 方式索引的文档使用关键词索引,不产生向量,因此不消耗存储空间。
+
+用量按向量实际占用的存储空间定期统计,上传或删除后,数字要过一段时间才会更新。
+
+## 上传超出剩余空间时
+
+每次上传都会在索引前检查。如果预估上传后的总占用会超出套餐容量,文档会保留在文档列表中,但不会被索引。
+
+要让它降到限额以内,可将文件拆分成多次上传,或在 [分段设置](/zh/cloud/use-dify/knowledge/create-knowledge/chunking-and-cleaning-text) 中调大分段长度以减少分段数量,不过分段越大,检索返回的段落越长、越不精确。
+
+也可升级套餐获得更大容量后重试。
+
+## 存储空间已满时
+
+用量达到套餐上限后,工作空间无法再新增知识库内容。
+
+上传文档、新增或编辑分段、恢复已归档文档,以及修改分段设置等重新索引操作都会被拦截,以 **经济** 方式索引的知识库也不例外。
+
+释放空间或升级套餐即可恢复这些操作。
+
+如果套餐降级或订阅到期导致现有数据超出新套餐的上限,数据不会被删除:应用仍可正常检索这些知识库,但在用量降到限额以内或重新升级前,无法再新增内容。
+
+## 释放存储空间
+
+删除不再需要的文档或知识库,其向量随之删除,空间会返还到额度中。
+
+**设置** > **账单** 中的用量数字延迟刷新,删除后要过一段时间才会下降。