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

Neo4j storing takes huge amount of time! #81

Open
rongzunzzz opened this issue Oct 21, 2024 · 2 comments
Open

Neo4j storing takes huge amount of time! #81

rongzunzzz opened this issue Oct 21, 2024 · 2 comments

Comments

@rongzunzzz
Copy link

rongzunzzz commented Oct 21, 2024

Does anyone encounter this when just simply applying the guide of docs/use_neo4j_for_graphrag.md. I use local neo4j desktop app.
My terminal pops lots of message of querying API keys and Processed A LOT MORE Communities, i wonder why.

@gusye1234
Copy link
Owner

Yeah, I encountered the same issue.
Because nano-graphrag is using the GDS ext of neo4j to compute the communities, and it seems to produce a lot more communities than networkx and unstable given a fixed random seed.

@rongzunzzz
Copy link
Author

Thanks for replying. Just wonder why this cause it to produce more communities, i thought it would be the same or approximately the same amount of communities for the same dataset. For instance, for my dataset, it normally constructs 90 communities, but when connecting neo4j, it reaches an amount of 1500 and ongoing. That's weird.

On the other hand, I have checked my local neo4j database, visualized the graph and I was sure that the number of nodes and links are completely constructed, but I terminated the process because I could not see the end of process. What about you? Did your execution finish?

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