Skip to content
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

在UI界面知识库上传文件,又出现错误 。跪求一份新建数据库的PY代码 ,另外我想问一下我删除了原数据库,每次又会新建一份是什么原因? #197

Open
mymoonsoft opened this issue Nov 22, 2024 · 1 comment

Comments

@mymoonsoft
Copy link

image
File "D:\myvitual\agentUniverse\Lib\site-packages\agentuniverse_product\service\knowledge_service\knowledge_service.py", line 181, in upload_knowledge_file
with open(file_location, "wb") as buffer:
^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '..\resources\111p.pdf'

提示路径错误,

@LandJerry
Copy link
Collaborator

数据库是会自动生成的。

看一下文件我是否有被上传到 No such file or directory: '..\resources\111p.pdf' 指定的目录里

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants