From 0abb5a1f9d29a70a533be6534f71e40cf6abf02b Mon Sep 17 00:00:00 2001 From: imClumsyPanda Date: Mon, 10 Jun 2024 00:36:46 +0800 Subject: [PATCH] Feature(File RAG): add file_rag in chatchat-server, add ensemble retriever and vectorstore retriever. --- libs/chatchat-server/chatchat/configs/_model_config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/chatchat-server/chatchat/configs/_model_config.py b/libs/chatchat-server/chatchat/configs/_model_config.py index 35625d56..afb0e8ea 100644 --- a/libs/chatchat-server/chatchat/configs/_model_config.py +++ b/libs/chatchat-server/chatchat/configs/_model_config.py @@ -149,7 +149,7 @@ TOOL_CONFIG = { "search_local_knowledgebase": { "use": False, "top_k": 3, - "score_threshold": 1, + "score_threshold": 1.0, "conclude_prompt": { "with_result": '<指令>根据已知信息,简洁和专业的来回答问题。如果无法从中得到答案,请说 "根据已知信息无法回答该问题",'