From f403ad755c043c7611d29964a260b96fcb3c910a Mon Sep 17 00:00:00 2001 From: imClumsyPanda Date: Thu, 11 May 2023 00:09:38 +0800 Subject: [PATCH] update README.md --- configs/model_config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/model_config.py b/configs/model_config.py index 03cafcf..e054444 100644 --- a/configs/model_config.py +++ b/configs/model_config.py @@ -69,7 +69,7 @@ LLM_HISTORY_LEN = 3 # return top-k text chunk from vector store VECTOR_SEARCH_TOP_K = 5 -# 知识检索内容相关度 Score, 数值范围0-1000,如果为0,则不生效,经测试设置为小于500时,匹配结果更精准 +# 知识检索内容相关度 Score, 数值范围约为0-1100,如果为0,则不生效,经测试设置为小于500时,匹配结果更精准 VECTOR_SEARCH_SCORE_THRESHOLD = 0 NLTK_DATA_PATH = os.path.join(os.path.dirname(os.path.dirname(__file__)), "nltk_data")