RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.
Go agent-harnessagent-native-databaseagentic-aiagentic-retrievalagentic-searchaiai-agentscontext-enginecontext-engineeringcontext-managementharness-engineeringknowledge-compilationragretrieval-augmented-generationretrieval-harnesssearch-harness
fix(web): block chunk save and show error when tag is not selected (#19337)
chanx2e9b9d293d75
diff --git a/web/src/locales/en.ts b/web/src/locales/en.tsindex 8c5655c0b1..8f9e6897e1 100644--- a/web/src/locales/en.ts+++ b/web/src/locales/en.ts@@ -920,6 +920,7 @@ Paragraphs:pageRank: 'Page rank',pageRankTip: `You can assign a higher PageRank score to specific datasets during retrieval. The corresponding score is added to the hybrid similarity scores of retrieved chunks from these datasets, increasing their ranking. See https://ragflow.io/docs/dataset_configuration#basic-information for details.`,tagName: 'Tag',+ tagMessage: 'Please select a tag',frequency: 'Frequency',searchTags: 'Search tags',tagCloud: 'Cloud',diff --git a/web/src/locales/zh.ts b/web/src/locales/zh.tsindex 0b872602c8..7b03bc9958 100644--- a/web/src/locales/zh.ts+++ b/web/src/locales/zh.ts@@ -832,6 +832,7 @@ export default {pageRank: '页面排名',pageRankTip: `知识库检索时,你可以为特定知识库设置较高的 PageRank 分数,该知识库中匹配文本块的混合相似度得分会自动叠加 PageRank 分数,从而提升排序权重。详见 https://ragflow.io/docs/dataset_configuration#basic-information。`,tagName: '标签',+ tagMessage: '请选择标签',frequency: '频次',searchTags: '搜索标签',tagCloud: '云',diff --git a/web/src/pages/chunk/parsed-result/add-knowledge/components/knowledge-chunk/components/chunk-creating-modal/tag-feature-item.tsx b/web/src/pages/chunk/parsed-result/add-knowledge/components/knowledge-chunk/components/chunk-creating-modal/tag-feature-item.tsxindex 645581a77d..4220f1980d 100644--- a/web/src/pages/chunk/parsed-result/add-knowledge/components/knowledge-chunk/components/chunk-creating-modal/tag-feature-item.tsx+++ b/web/src/pages/chunk/parsed-result/add-knowledge/components/knowledge-chunk/components/chunk-creating-modal/tag-feature-item.tsx@@ -76,6 +76,10 @@ export const TagFeatureItem = () => {<FormFieldcontrol={form.control}name={`${FieldKey}.${name}.tag` as any}+ rules={{+ validate: (value: string) =>+ value ? true : t('knowledgeConfiguration.tagMessage'),+ }}render={({ field }) => (<FormItem className="w-2/3"><FormControl className="w-full">