mirror of
https://github.com/RYDE-WORK/Langchain-Chatchat.git
synced 2026-02-08 16:10:18 +08:00
update model_config.py
This commit is contained in:
parent
98b773c43a
commit
7dc44249eb
@ -231,8 +231,8 @@ LLM_HISTORY_LEN = 3
|
|||||||
# 知识库检索时返回的匹配内容条数
|
# 知识库检索时返回的匹配内容条数
|
||||||
VECTOR_SEARCH_TOP_K = 5
|
VECTOR_SEARCH_TOP_K = 5
|
||||||
|
|
||||||
# 知识检索内容相关度 Score, 数值范围约为0-1100,如果为0,则不生效,经测试设置为小于500时,匹配结果更精准
|
# 知识检索内容相关度 Score, 数值范围约为0-1100,如果为0,则不生效,建议设置为500左右,经测试设置为小于500时,匹配结果更精准
|
||||||
VECTOR_SEARCH_SCORE_THRESHOLD = 390
|
VECTOR_SEARCH_SCORE_THRESHOLD = 500
|
||||||
|
|
||||||
NLTK_DATA_PATH = os.path.join(os.path.dirname(os.path.dirname(__file__)), "nltk_data")
|
NLTK_DATA_PATH = os.path.join(os.path.dirname(os.path.dirname(__file__)), "nltk_data")
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user