Unverified 提交 51d0b7f8 作者: Bob Chang 提交者: GitHub

Fix 知识库无法上载,NLTK_DATA_PATH路径错误 (#236)

上级 fc7197fe
...@@ -62,4 +62,4 @@ LLM_HISTORY_LEN = 3 ...@@ -62,4 +62,4 @@ LLM_HISTORY_LEN = 3
# return top-k text chunk from vector store # return top-k text chunk from vector store
VECTOR_SEARCH_TOP_K = 5 VECTOR_SEARCH_TOP_K = 5
NLTK_DATA_PATH = os.path.join(os.path.dirname(__file__), "nltk_data") NLTK_DATA_PATH = os.path.join(os.path.dirname(os.path.dirname(__file__)), "nltk_data")
\ No newline at end of file \ No newline at end of file
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论