neo4j-labs / llm-graph-builder

Neo4j graph construction from unstructured data using LLMs
https://neo4j.com/labs/genai-ecosystem/llm-graph-builder/
Apache License 2.0
2.27k stars 360 forks source link

How to use Microsoft GraphRAG and llm-graph-builder together? #511

Closed crazyyanchao closed 1 month ago

nileshtrivedi commented 3 months ago

Has anyone compared Microsoft GraphRAG and Neo4j's GraphRAG approaches? How do they differ?

crazyyanchao commented 3 months ago

@nileshtrivedi I think the main difference is the global-search, llm-graph-builder doesn't seem to have a way to do community summaries.

jexp commented 3 months ago

We are planning to integrate GraphRAG aspects, like generating communities between entities and generating community summaries and also adding global and local search that takes them into account. In the next version we'll be able to generate entity embeddings already.

@tomasonjo has written an awesome blog post if you want to do this in your own code. https://medium.com/@bratanic-tomaz/implementing-from-local-to-global-graphrag-with-neo4j-and-langchain-73924cc5bab4

nileshtrivedi commented 3 months ago

It would be amazing to have Microsoft GraphRAG library included directly and used in the llm-graph-builder app (rather than re-implementing the features). This would allow continuous improvements in that library to easily be available to this app. They are also working on improving the support for Neo4J. But this might require a major effort.

nileshtrivedi commented 1 month ago

@jexp Would you be able to share a summary of the changes that have happened since your message in July and the current status?