Skip to content

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

Fix: Modify the error message for empty chat responses. (#18730)

balibabu67e744f5d197
diff --git a/web/src/locales/zh.ts b/web/src/locales/zh.ts
index 5412169b39..3d6978b437 100644
--- a/web/src/locales/zh.ts
+++ b/web/src/locales/zh.ts
@@ -933,7 +933,7 @@ NER:使用 spaCy NER 和基于规则的关键词提取来抽取 Entities 和 R
emptyResponse: '空回复',
emptyResponsePlaceholder: '在知识库中未找到您要寻找的答案!',
emptyResponseTip: `如果在知识库中没有检索到用户的问题,它将使用它作为答案。 如果您希望 LLM 在未检索到任何内容时提出自己的意见,请将此留空。仅在思考模式是简单模式时候生效。`,
- emptyResponseMessage: `当知识库中未检索到任何相关信息时,将触发空响应。由于未选择任何知识库,因此请清除“空响应”。`,
+ emptyResponseMessage: `当知识库中未检索到任何相关信息时,将触发空回复。由于未选择任何知识库,因此请清除“空回复”。`,
setAnOpener: '设置开场白',
setAnOpenerInitial: `你好! 我是你的助理,有什么可以帮到你的吗?`,
setAnOpenerTip: '您想如何欢迎您的客户?',
diff --git a/web/src/pages/dataset/setting/python/configuration/naive.tsx b/web/src/pages/dataset/setting/python/configuration/naive.tsx
index 29acdf5200..93968551bc 100644
--- a/web/src/pages/dataset/setting/python/configuration/naive.tsx
+++ b/web/src/pages/dataset/setting/python/configuration/naive.tsx
@@ -33,11 +33,11 @@ export function NaiveConfiguration() {
sliderTestId="ds-settings-parser-recommended-chunk-size-slider"
numberInputTestId="ds-settings-parser-recommended-chunk-size-input"
></MaxTokenNumberFormField>
+ <OverlappedPercent />
<DelimiterFormField></DelimiterFormField>
<ChildrenDelimiterForm />
<ImageContextWindow />
<AutoMetadata />
- <OverlappedPercent />
</ConfigurationFormContainer>
<ConfigurationFormContainer>
<AutoKeywordsFormField