ksachdeva/langchain-graphrag

GraphRAG / From Local to Global: A Graph RAG Approach to Query-Focused Summarization

50
/ 100
Established

Implements the GraphRAG paper with LangChain integration, enabling modular swapping of LLM providers (OpenAI, Azure, Ollama), embeddings, and vector stores without core logic changes. Builds knowledge graphs through text unit and entity extraction, then performs hierarchical retrieval via local and global search using context selection and prompt-based summarization. Designed for experimental extensibility—nearly all components can be replaced with custom implementations matching required interfaces.

164 stars.

No Package No Dependents
Maintenance 6 / 25
Adoption 10 / 25
Maturity 16 / 25
Community 18 / 25

How are scores calculated?

Stars

164

Forks

26

Language

Python

License

Apache-2.0

Last pushed

Oct 20, 2025

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/rag/ksachdeva/langchain-graphrag"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.