test vector store on docker

这个提交包含在:
binary-husky
2023-12-08 22:22:01 +08:00
父节点 21bccf69d2
当前提交 0cb7dd5280
共有 5 个文件被更改,包括 43 次插入7 次删除

查看文件

@@ -242,7 +242,7 @@ class LocalDocQA:
def construct_vector_store(vs_id, vs_path, files, sentence_size, history, one_conent, one_content_segmentation, text2vec):
for file in files:
assert os.path.exists(file), "输入文件不存在"
assert os.path.exists(file), "输入文件不存在" + file
import nltk
if NLTK_DATA_PATH not in nltk.data.path: nltk.data.path = [NLTK_DATA_PATH] + nltk.data.path
local_doc_qa = LocalDocQA()