From d2961b2d25a0fe8558a1e6f093c79e059e7ec766 Mon Sep 17 00:00:00 2001 From: balibabu Date: Thu, 6 Feb 2025 14:41:46 +0800 Subject: [PATCH] Feat: Supports docx in the MANUAL chunk method and docx, markdown, and PDF in the Q&A chunk method #3957 (#4741) ### What problem does this PR solve? Feat: Supports docx in the MANUAL chunk method and docx, markdown, and PDF in the Q&A chunk method #3957 ### Type of change - [x] New Feature (non-breaking change which adds functionality) --- web/src/locales/en.ts | 4 ++-- web/src/locales/zh-traditional.ts | 2 +- web/src/locales/zh.ts | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/web/src/locales/en.ts b/web/src/locales/en.ts index aba283d40..442d1d2f6 100644 --- a/web/src/locales/en.ts +++ b/web/src/locales/en.ts @@ -161,7 +161,7 @@ export default { rerankTip: `If left empty, RAGFlow will use a combination of weighted keyword similarity and weighted vector cosine similarity; if a rerank model is selected, a weighted reranking score will replace the weighted vector cosine similarity. Please be aware that using a rerank model will significantly increase the system's response time.`, topK: 'Top-K', topKTip: `K chunks will be fed into rerank models.`, - delimiter: `Delimiter`, + delimiter: `Delimiters`, delimiterTip: 'A delimiter or separator can consist of one or multiple special characters. If it is multiple characters, ensure they are enclosed in backticks( ``). For example, if you configure your delimiters like this: \n`##`;, then your texts will be separated at line breaks, double hash symbols (##), or semicolons.', html4excel: 'Excel to HTML', @@ -202,7 +202,7 @@ export default { name: 'Knowledge base name', photo: 'Knowledge base photo', description: 'Description', - language: 'Language', + language: 'Document language', languageMessage: 'Please input your language!', languagePlaceholder: 'Please input your language!', permissions: 'Permissions', diff --git a/web/src/locales/zh-traditional.ts b/web/src/locales/zh-traditional.ts index 198f0f93e..b228b5fa5 100644 --- a/web/src/locales/zh-traditional.ts +++ b/web/src/locales/zh-traditional.ts @@ -197,7 +197,7 @@ export default { name: '知識庫名稱', photo: '知識庫圖片', description: '描述', - language: '語言', + language: '文件語言', languageMessage: '請輸入語言', languagePlaceholder: '請輸入語言', permissions: '權限', diff --git a/web/src/locales/zh.ts b/web/src/locales/zh.ts index 674c97085..eb8675b29 100644 --- a/web/src/locales/zh.ts +++ b/web/src/locales/zh.ts @@ -198,7 +198,7 @@ export default { name: '知识库名称', photo: '知识库图片', description: '描述', - language: '语言', + language: '文档语言', languageMessage: '请输入语言', languagePlaceholder: '请输入语言', permissions: '权限',