Skip to content

momoway/GraphRAG

 
 

Repository files navigation

👾 DIGIMON: Deep Analysis of Graph-Based Retrieval-Augmented Generation (RAG) Systems

Static Badge Static Badge Static Badge Static Badge Static Badge

GraphRAG is a popular 🔥🔥🔥 and powerful 💪💪💪 RAG system! 🚀💡 Inspired by systems like Microsoft's, graph-based RAG is unlocking endless possibilities in AI.

Our project focuses on modularizing and decoupling these methods 🧩 to unveil the mystery 🕵️‍♂️🔍✨ behind them and share fun and valuable insights! 🤩💫

Representative Methods

We select the following Graph RAG methods:

Method Description Link Graph Type
RAPTOR ICLR 2024 arXiv GitHub Tree
KGP AAAI 2024 arXiv GitHub Passage Graph
DALK EMNLP 2024 arXiv GitHub ER Graph
HippoRAG NIPS 2024 arXiv GitHub ER Graph
MedGraphRAG Medical Domain arXiv GitHub ER Graph
G-retriever NIPS 2024 arXiv GitHub ER Graph
ToG NIPS 2024 arXiv GitHub ER Graph
GraphCoT ACL 2024 arXiv GitHub ER Graph
MS GraphRAG Microsoft Project arXiv GitHub KG
FastGraphRAG CircleMind Project GitHub KG
LightRAG High Star Project arXiv GitHub RKG

Graph Types

Based on the entity and relation, we categorize the graph into the following types:

  • Chunk Tree: A tree structure formed by document content and summary.
  • Passage Graph: A relational network composed of passages, tables, and other elements within documents.
  • ER Graph: An Entity-Relation Graph, which contains only entities and relations, is commonly represented as triples.
  • KG: A Knowledge Graph, which enriches entities with detailed descriptions and type information.
  • RKG: A Rich Knowledge Graph, which further incorporates keywords associated with relations.

The criteria for the classification of graph types are as follows:

Graph Attributes Chunk Tree Passage Graph ER KG RKG
Original Content
Entity Name
Entity Type
Entity Description
Relation Name
Relation keyword
Relation Description
Edge Weight

About

In-depth study of the graphrag

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 100.0%