-
Notifications
You must be signed in to change notification settings - Fork 803
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
请问在哪修改知识库的保存路径? #496
Comments
大佬们能告诉我 在哪里修改 知识库的路径吗? |
gen_data_st.py 里找到 最后几行代码中的 default 改为自己对应的知识库名称,这个自定义知识库名称是在memory下 看自己情况而定 选择哪个 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
原以为是在gen_data_st.py文件的
try:
vectorstore_old = Vectorstore.load_local(
'autodl-tmp/zhishiku/memory/default', embeddings=embeddings)
'memory/default', embeddings=embeddings)
except:
print("新建索引")
#vectorstore.save_local('memory/default')
vectorstore.save_local('autodl-tmp/zhishiku/memory/default')
success_print("保存完成")
但是修改之后,还是保存在wenda文件夹内,没有修改成功,请问 应该修改哪里?
The text was updated successfully, but these errors were encountered: