Add msft_graphrag

This commit is contained in:
yanivvak
2024-09-08 16:28:30 +03:00
parent e217ba9f38
commit a0d7826ec0
4 changed files with 2138 additions and 1 deletions

View File

@@ -327,6 +327,15 @@ Explore the extensive list of cutting-edge RAG techniques:
• Implement a multi-step process involving question anonymization, high-level planning, task breakdown, adaptive information retrieval and question answering, continuous re-planning, and rigorous answer verification to ensure grounded and accurate responses.
27. GraphRag 🎯
- **[GraphRag](all_rag_techniques/Microsoft_GraphRag.ipynb)**
#### Overview 🔎
Microsoft GraphRAG (Open Source) is an advanced Retrieval-Augmented Generation (RAG) system that integrates knowledge graphs to improve the performance of large language models (LLMs). GraphRAG addresses limitations in traditional RAG approaches by using LLM-generated knowledge graphs to enhance document analysis and improve response quality.
#### Implementation 🛠️
• GraphRAG is a tool that uses graph machine learning to analyze an input corpus by extracting entities, relationships, and key claims from text units. It performs hierarchical clustering of the graph using the Leiden technique and generates summaries of each community and its constituents from the bottom-up. This helps in holistic understanding of the dataset. At query time, GraphRAG provides materials for the LLM context window when answering a question through global and local search modes.
## Getting Started

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 15 KiB

View File

@@ -183,4 +183,5 @@ wrapt==1.16.0
xxhash==3.4.1
yarl==1.9.4
zipp==3.19.2
ollama==0.3.1
ollama==0.3.1
graphrag==0.3.2