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] [TuGraph] When creating RuGraphRAG, no chunk node and document node was created #2251

Open
3 of 15 tasks
FlintYu opened this issue Dec 25, 2024 · 3 comments
Open
3 of 15 tasks
Labels
bug Something isn't working Waiting for reply

Comments

@FlintYu
Copy link

FlintYu commented Dec 25, 2024

Search before asking

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

Operating system information

MacOS(M1, M2...)

Python version information

3.10

DB-GPT version

main

Related scenes

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

Installation Information

Device information

CPU

Models information

LLM:qwen-72B
embedding: bge-large-zh

What happened

创建TuGraph知识库的时候不会创建 chunk node 和 document node,
创建的结构如下
image

What you expected to happen

应该在创建完成后,创建chunk node 和 document node

How to reproduce

使用的Markdown文件如下构建TuGraph知识库
小红帽的故事.md

Additional context

No response

Are you willing to submit PR?

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

GRAPH_STORE_TYPE=TuGraph
TUGRAPH_HOST=127.0.0.1
TUGRAPH_PORT=7687
TUGRAPH_USERNAME=admin
TUGRAPH_PASSWORD=73@TuGraph
GRAPH_COMMUNITY_SUMMARY_ENABLED=True  # enable the graph community summary
TRIPLET_GRAPH_ENABLED=True  # enable the graph search for the triplets
DOCUMENT_GRAPH_ENABLED=True  # enable the graph search for documents and chunks
KNOWLEDGE_GRAPH_CHUNK_SEARCH_TOP_SIZE=5  # the number of the searched triplets in a retrieval
KNOWLEDGE_GRAPH_EXTRACTION_BATCH_SIZE=20  # the batch size of triplet extraction from the text

@FlintYu
Copy link
Author

FlintYu commented Dec 26, 2024

GRAPH_STORE_TYPE=TuGraph
TUGRAPH_HOST=127.0.0.1
TUGRAPH_PORT=7687
TUGRAPH_USERNAME=admin
TUGRAPH_PASSWORD=73@TuGraph
GRAPH_COMMUNITY_SUMMARY_ENABLED=True  # enable the graph community summary
TRIPLET_GRAPH_ENABLED=True  # enable the graph search for the triplets
DOCUMENT_GRAPH_ENABLED=True  # enable the graph search for documents and chunks
KNOWLEDGE_GRAPH_CHUNK_SEARCH_TOP_SIZE=5  # the number of the searched triplets in a retrieval
KNOWLEDGE_GRAPH_EXTRACTION_BATCH_SIZE=20  # the batch size of triplet extraction from the text

I have already set up

@Aries-ckt
Copy link
Collaborator

check your graph db schema?
image

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