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]GraphRAG:CypherException #2044

Open
4 of 15 tasks
maco6096 opened this issue Sep 26, 2024 · 4 comments
Open
4 of 15 tasks

[Bug]GraphRAG:CypherException #2044

maco6096 opened this issue Sep 26, 2024 · 4 comments
Labels
bug Something isn't working Waiting for reply

Comments

@maco6096
Copy link

Search before asking

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

Operating system information

Linux

Python version information

3.10

DB-GPT version

latest release

Related scenes

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

Installation Information

Device information

CPU

Models information

LLM: ollama_proxyllm embeding: normic-embed-txt

What happened

通过web ui添加tugraph 类型的文档时,报一下错误:

Traceback (most recent call last):
File "/data/DB-GPT-0.6.0/dbgpt/datasource/conn_tugraph.py", line 101, in run
return list(result)
File "/data/miniconda3/envs/dbgpt_env/lib/python3.10/site-packages/neo4j/_sync/work/result.py", line 378, in iter
self._connection.fetch_message()
File "/data/miniconda3/envs/dbgpt_env/lib/python3.10/site-packages/neo4j/_sync/io/_common.py", line 178, in inner
func(*args, **kwargs)
File "/data/miniconda3/envs/dbgpt_env/lib/python3.10/site-packages/neo4j/_sync/io/_bolt.py", line 860, in fetch_message
res = self._process_message(tag, fields)
File "/data/miniconda3/envs/dbgpt_env/lib/python3.10/site-packages/neo4j/_sync/io/_bolt4.py", line 368, in _process_message
response.on_failure(summary_metadata or {})
File "/data/miniconda3/envs/dbgpt_env/lib/python3.10/site-packages/neo4j/_sync/io/_common.py", line 245, in on_failure
raise Neo4jError.hydrate(**metadata)
neo4j.exceptions.DatabaseError: {code: CypherException} {message: CypherException: visit(...) failed at src/cypher/arithmetic/ast_expr_evaluator.cpp:480}

What you expected to happen

正常添加成功

How to reproduce

webui --> 创建知识库-> tugraph--> 添加数据源 -->添加pdf文档--》下一步就报错

Additional context

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!
@maco6096 maco6096 added bug Something isn't working Waiting for reply labels Sep 26, 2024
@Aries-ckt
Copy link
Collaborator

have you installed plugin?

pip install dbgpt-tugraph-plugins==0.1.0rc1 -U -i https://pypi.org/simple

@Aries-ckt Aries-ckt changed the title 通过WEB UI添加知识图谱报错:CypherException [Bug]GraphRAG:CypherException Sep 26, 2024
@maco6096
Copy link
Author

have you installed plugin?

pip install dbgpt-tugraph-plugins==0.1.0rc1 -U -i https://pypi.org/simple

试了一下,显示之前已经安装过这个包了:

(dbgpt_env) [app@e1 DB-GPT-0.6.0]$ pip install dbgpt-tugraph-plugins==0.1.0rc1 -U
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
Requirement already satisfied: dbgpt-tugraph-plugins==0.1.0rc1 in /data/miniconda3/envs/dbgpt_env/lib/python3.10/site-packages (0.1.0rc1)

@adogwangwang
Copy link

pip install dbgpt-tugraph-plugins==0.1.0rc1

您好,请问您解决了吗?我遇到同样的问题,想请教下

@maco6096
Copy link
Author

maco6096 commented Oct 31, 2024 via email

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