Skip to content

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

Fix: Add a tooltip to the 'tag' field of the extractor operator. (#21047)

balibabud8b080a9bf6a
diff --git a/web/src/locales/en.ts b/web/src/locales/en.ts
index ec731670f6..743a328857 100644
--- a/web/src/locales/en.ts
+++ b/web/src/locales/en.ts
@@ -3376,6 +3376,8 @@ This delimiter is used to split the input text into several text pieces echo of
systemPrompt: 'System prompt',
userPrompt: 'User prompt',
tagFile: 'Tag file',
+ tagFileTip:
+ 'Automatically extracts up to N relevant tags for each chunk based on the selected tag file to improve retrieval accuracy. Tag extraction may invoke a model and consume additional tokens. If extraction fails, the original chunk will be preserved. For details, see https://ragflow.io/docs/dataset_configuration#content-enhancement-configuration.',
addCategory: 'Add category',
categoryName: 'Category name',
nextStep: 'Next step',
diff --git a/web/src/locales/zh.ts b/web/src/locales/zh.ts
index dc446cb8b3..2aee01f4cd 100644
--- a/web/src/locales/zh.ts
+++ b/web/src/locales/zh.ts
@@ -2971,6 +2971,8 @@ NER:使用 spaCy NER 和基于规则的关键词提取来抽取 Entities 和 R
systemPrompt: '系统提示词',
userPrompt: '用户提示词',
tagFile: '标签文件',
+ tagFileTip:
+ '根据所选标签文件,为每个文本块自动提取最多 N 个相关标签,以提高检索准确性。标签提取可能调用模型并产生额外的 Token 消耗。如果提取失败,原始文本块仍会保留。详情请见 https://ragflow.io/docs/dataset_configuration#content-enhancement-configuration。',
prompt: '提示词',
promptMessage: '提示词是必填项',
promptTip:
diff --git a/web/src/pages/agent/form/extractor-form/index.tsx b/web/src/pages/agent/form/extractor-form/index.tsx
index df480b28af..50dba4f48d 100644
--- a/web/src/pages/agent/form/extractor-form/index.tsx
+++ b/web/src/pages/agent/form/extractor-form/index.tsx
@@ -347,6 +347,7 @@ const ExtractorForm = ({
/>
<RAGFlowFormItem
label={t('flow.tagFile')}
+ tooltip={t('flow.tagFileTip')}
name="tags.tag_file_id"
>
{(field) => (