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
feat: Refine reteival of multi-turn conversation #2362 (#2539)
balibabu521ea6afcbca
diff --git a/web/src/locales/en.ts b/web/src/locales/en.tsindex ed0586f88c..92a85297bc 100644--- a/web/src/locales/en.ts+++ b/web/src/locales/en.ts@@ -435,6 +435,9 @@ The above is the content you need to summarize.`,'To play the voice using voice conversion, please select TTS (speech conversion model) in the settings first.',relatedQuestion: 'Related question',answerTitle: 'R',+ multiTurn: 'Multi-trun optimization',+ multiTurnTip:+ 'In multi-round conversations, the query to the knowledge base is optimized. The large model will be called to consume additional tokens.',},setting: {profile: 'Profile',diff --git a/web/src/locales/zh-traditional.ts b/web/src/locales/zh-traditional.tsindex 04589bd6bf..ee355f10f9 100644--- a/web/src/locales/zh-traditional.ts+++ b/web/src/locales/zh-traditional.ts@@ -404,6 +404,9 @@ export default {ttsTip: '是否用語音轉換播放語音,請先在設定裡面選擇TTS(語音轉換模型)。',relatedQuestion: '相關問題',answerTitle: '智慧回答',+ multiTurn: '多輪對話優化',+ multiTurnTip:+ '在多輪對話的中,對去知識庫查詢的問題進行最佳化。會呼叫大模型額外消耗token。',},setting: {profile: '概述',diff --git a/web/src/locales/zh.ts b/web/src/locales/zh.tsindex 796774d7b6..cc11c804c3 100644--- a/web/src/locales/zh.ts+++ b/web/src/locales/zh.ts@@ -421,6 +421,9 @@ export default {ttsTip: '是否用语音转换播放语音,请先在设置里面选择TTS(语音转换模型)。',relatedQuestion: '相关问题',answerTitle: '智能回答',+ multiTurn: '多轮对话优化',+ multiTurnTip:+ '在多轮对话的中,对去知识库查询的问题进行优化。会调用大模型额外消耗token。',},setting: {profile: '概要',diff --git a/web/src/pages/chat/chat-configuration-modal/prompt-engine.tsx b/web/src/pages/chat/chat-configuration-modal/prompt-engine.tsxindex 91c4402d5d..3e65437079 100644--- a/web/src/pages/chat/chat-configuration-modal/prompt-engine.tsx+++ b/web/src/pages/chat/chat-configuration-modal/prompt-engine.tsx@@ -160,6 +160,14 @@ const PromptEngine = (<Divider></Divider><SimilaritySlider isTooltipShown></SimilaritySlider><TopNItem></TopNItem>+ <Form.Item+ label={t('multiTurn')}+ tooltip={t('multiTurnTip')}+ name={['prompt_config', 'refine_multiturn']}+ initialValue={true}+ >+ <Switch></Switch>+ </Form.Item><Rerank></Rerank><section className={classNames(styles.variableContainer)}><Row align={'middle'} justify="end">