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]Delete KG error #1581

Closed
3 of 15 tasks
adogwangwang opened this issue May 30, 2024 · 4 comments
Closed
3 of 15 tasks

[Bug]Delete KG error #1581

adogwangwang opened this issue May 30, 2024 · 4 comments
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

v100 gpu

Models information

llm : chatglm
embedding: bge-large-zh

What happened

  1. 上传数据格式应该是怎样的?csv还是什么?那csv中的内容格式又应该是怎样的?
  2. 似乎csv不行,必须excel格式
  3. 上传了Excel,形成图数据库,但是点击删除显示删除失败?ERROR delete vector name graph2 failed: 'BuiltinKnowledgeGraph' object has no attribute 'vector_name_exists' 应该怎么修改?

What you expected to happen

需要一份使用图数据库的详细示例,以及上传数据的格式说明

How to reproduce

see error

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 May 30, 2024
@Aries-ckt Aries-ckt changed the title 图数据库删除失败 [Bug]Delete KG error May 30, 2024
@Aries-ckt
Copy link
Collaborator

hi, @adogwangwang #1547 this pull request will solve the problem.

@adogwangwang
Copy link
Author

hi, @adogwangwang #1547 this pull request will solve the problem.

It seems that CSV format data cannot be uploaded, so what should the content of Excel format data be in? I see that your example is a transformer_story.md, is it in markdown format? What is the format of the content inside? Can you give me an example? Furthermore, this graph database seems to extract and polish the knowledge graph data with a large model and then insert it into the knowledge base, which is not a real knowledge graph retrieval, right? So what is the meaning of connecting with tugraph? How to interact with tugraph? hoping your answer ~~~~ thanks~~~

@adogwangwang
Copy link
Author

hi, @adogwangwang #1547 this pull request will solve the problem.

can you show me what kind of data can upload knowledge graph? for example csv and excel ? it

@Aries-ckt
Copy link
Collaborator

examples/test_files/tranformers_story.md

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

2 participants