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

[Bug] [Module Name] Bug title Error when uploading files to the graph knowledge base #2090

Open
4 of 15 tasks
adogwangwang opened this issue Oct 23, 2024 · 3 comments
Open
4 of 15 tasks
Labels
bug Something isn't working Waiting for reply

Comments

@adogwangwang
Copy link

Search before asking

  • I had searched in the issues and found no similar issues.

Operating system information

Linux

Python version information

=3.11

DB-GPT version

main

Related scenes

  • Chat Data
  • Chat Excel
  • Chat DB
  • Chat Knowledge
  • Model Management
  • Dashboard
  • Plugins

Installation Information

Device information

gpu v100

Models information

qwen2.5 72b
bge m3
bge reranker

What happened

我使用的是dbgpt 0.5.10版本, 当我上传文件到图知识库时发生报错{code: CypherException} {message: CypherException: visit(...) failed at src/cypher/arithmetic/ast_expr_evaluator.cpp:480} ,通过debug发现问题出现在app\dbgpt\storage\graph_store\factory.py文件中的return store_cls(config) 这一句,不知道是什么原因,请大佬们帮忙解答! 试过txt和md格式文档,都会报错
image

What you expected to happen

希望老师们能够帮我找到原因,并解决,然后想问图知识库支持的是什么格式的文件来上传?

How to reproduce

  1. 构建图知识库
  2. 上传txt或md文件

Additional context

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!
@adogwangwang adogwangwang added bug Something isn't working Waiting for reply labels Oct 23, 2024
@adogwangwang
Copy link
Author

document sync batch error {code: CypherException} {message: CypherException: visit(...) failed at src/cypher/arithmetic/ast_expr_evaluator.cpp:480} 完整报错是这样

@Aries-ckt
Copy link
Collaborator

document sync batch error {code: CypherException} {message: CypherException: visit(...) failed at src/cypher/arithmetic/ast_expr_evaluator.cpp:480} 完整报错是这样

hi,
could you show your .env Graph setting or try DB-GPT v0.6.1

@Appointat
Copy link
Contributor

@adogwangwang Hi, it seems like you have the same issue with #2079 (comment).
The good news it, we fixed it in v0.6.1. Therefore, please update db-gpt, and then update your env according to the .env.template, thank you.

@Aries-ckt Aries-ckt changed the title [Bug] [Module Name] Bug title上传文件到图知识库报错 [Bug] [Module Name] Bug title Error when uploading files to the graph knowledge base Oct 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Waiting for reply
Projects
None yet
Development

No branches or pull requests

3 participants