Skip to content

Commit

Permalink
update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
imClumsyPanda committed May 10, 2023
1 parent cda18c6 commit f403ad7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configs/model_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
# 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")
Expand Down

0 comments on commit f403ad7

Please sign in to comment.