mirror of
https://github.com/RYDE-WORK/Langchain-Chatchat.git
synced 2026-02-02 04:23:13 +08:00
Fix 知识库无法上载,NLTK_DATA_PATH路径错误 (#236)
This commit is contained in:
parent
fc7197fe5f
commit
51d0b7f855
@ -62,4 +62,4 @@ LLM_HISTORY_LEN = 3
|
||||
# return top-k text chunk from vector store
|
||||
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")
|
||||
Loading…
x
Reference in New Issue
Block a user