Skip to content

RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.

Added a file size limit (#5301)

writinwatersf9f75aa119f4
diff --git a/web/src/locales/en.ts b/web/src/locales/en.ts
index eeff760b8a..367751df8a 100644
--- a/web/src/locales/en.ts
+++ b/web/src/locales/en.ts
@@ -150,9 +150,9 @@ export default {
'The current value must be greater than the previous to!',
selectFiles: 'Select files',
changeSpecificCategory: 'Change specific category',
- uploadTitle: 'Click or drag file to this area to upload',
+ uploadTitle: 'Drag and drop your file here to upload',
uploadDescription:
- 'Support for a single or bulk upload. Strictly prohibited from uploading company data or other banned files.',
+ 'Supports single or bulk file upload. Files must not exceed 10MB each, with a maximum of 128 files.',
chunk: 'Chunk',
bulk: 'Bulk',
cancel: 'Cancel',
@@ -738,15 +738,15 @@ This procedure will improve precision of retrieval by adding more information to
file: 'File',
uploadFile: 'Upload File',
directory: 'Directory',
- uploadTitle: 'Click or drag file to this area to upload',
+ uploadTitle: 'Drag and drop your file here to upload',
uploadDescription:
- 'Support for a single or bulk upload. Strictly prohibited from uploading company data or other banned files.',
+ 'Supports single or bulk file upload. Files must not exceed 10MB each, with a maximum of 128 files.',
local: 'Local uploads',
s3: 'S3 uploads',
preview: 'Preview',
fileError: 'File error',
uploadLimit:
- 'The file size cannot exceed 10M, and the total number of files cannot exceed 128',
+ 'Each file must not exceed 10MB, and the total number of files must not exceed 128.',
destinationFolder: 'Destination folder',
},
flow: {
diff --git a/web/src/locales/ja.ts b/web/src/locales/ja.ts
index 771ce96326..ab86e9fcda 100644
--- a/web/src/locales/ja.ts
+++ b/web/src/locales/ja.ts
@@ -656,7 +656,7 @@ export default {
directory: 'ディレクトリ',
uploadTitle: 'クリックまたはドラッグしてファイルをアップロード',
uploadDescription:
- '単一または一括アップロードをサポートします。企業データや禁止されたファイルのアップロードは禁止されています。',
+ '単一または一括アップロードをサポートします。各ファイルは10MBを超えないこと、最大128ファイルまでです。',
local: 'ローカルアップロード',
s3: 'S3アップロード',
preview: 'プレビュー',
diff --git a/web/src/locales/zh-traditional.ts b/web/src/locales/zh-traditional.ts
index dbb073356c..de93d259a3 100644
--- a/web/src/locales/zh-traditional.ts
+++ b/web/src/locales/zh-traditional.ts
@@ -148,7 +148,7 @@ export default {
selectFiles: '選擇文件',
changeSpecificCategory: '更改特定類別',
uploadTitle: '點擊或拖拽文件至此區域即可上傳',
- uploadDescription: '支持單次或批量上傳。嚴禁上傳公司數據或其他違禁文件。',
+ uploadDescription: '支持單次或批量上傳。單個檔案大小不超過10MB,最多上傳128份檔案。',
chunk: '解析塊',
bulk: '批量',
cancel: '取消',
@@ -703,7 +703,7 @@ export default {
newFolder: '新建文件夾',
uploadFile: '上傳文件',
uploadTitle: '點擊或拖拽文件至此區域即可上傳',
- uploadDescription: '支持單次或批量上傳。嚴禁上傳公司數據或其他違禁文件。',
+ uploadDescription: '支持單次或批量上傳。單個檔案大小不超過10MB,最多上傳128份檔案。',
file: '文件',
directory: '文件夾',
local: '本地上傳',
diff --git a/web/src/locales/zh.ts b/web/src/locales/zh.ts
index e51543897c..c63d7c03d8 100644
--- a/web/src/locales/zh.ts
+++ b/web/src/locales/zh.ts
@@ -149,7 +149,7 @@ export default {
changeSpecificCategory: '更改特定类别',
uploadTitle: '点击或拖拽文件至此区域即可上传',
uploadDescription:
- '支持单次或批量上传。 严禁上传公司数据或其他违禁文件。',
+ '支持单次或批量上传。单个文件大小不超过10MB,最多上传128份文件。严禁上传违禁文件。',
chunk: '解析块',
bulk: '批量',
cancel: '取消',
@@ -723,7 +723,7 @@ General:实体和关系提取提示来自 GitHub - microsoft/graphrag:基于
uploadFile: '上传文件',
uploadTitle: '点击或拖拽文件至此区域即可上传',
uploadDescription:
- '支持单次或批量上传。 严禁上传公司数据或其他违禁文件。',
+ '支持单次或批量上传。 单个文件大小不超过10MB,最多上传128份文件。严禁上传违禁文件。',
file: '文件',
directory: '文件夹',
local: '本地上传',