Summary
Keywords
Full Transcript
GraphRAG vs LightRAG - which one should you use? I burned through $400 in API costs testing Microsoft's GraphRAG. Then I found LightRAG, which does the same job for 6000x less. In this video, I break down exactly how both systems work, the real costs, and when to use each one. π LINKS & RESOURCES βββββββββββββββββββ π¦ GraphRAG (Microsoft): https://github.com/microsoft/graphrag π¦ LightRAG (HKU): https://github.com/HKUDS/LightRAG π GraphRAG Paper: https://arxiv.org/abs/2404.16130 π LightRAG Paper: https://arxiv.org/abs/2410.05779 βββββββββββββββββββ 00:00 Intro 00:43 Agenda 01:45 GraphRAG 03:23 LightRAG π KEY TAKEAWAYS βββββββββββββββββββ - GraphRAG uses community detection + hierarchical summaries (Microsoft) - LightRAG uses dual-level retrieval + vector search (6000x cheaper queries) - Both require LLM calls for indexing - cost savings are in the QUERY phase - GraphRAG: best for global "big picture" questions on static data - LightRAG: best for cost-efficiency, fast updates, and scaling π‘ WHO IS THIS FOR βββββββββββββββββββ This video is for developers, AI engineers, and anyone building RAG systems who wants to understand graph-based retrieval. Whether you're choosing between GraphRAG and LightRAG, or just learning how knowledge graphs improve RAG, this breakdown covers everything you need to know. π TOPICS COVERED βββββββββββββββββββ - GraphRAG vs LightRAG comparison - How GraphRAG works (Leiden algorithm, community detection) - How LightRAG works (dual-level retrieval) - RAG system costs and token usage - Knowledge graph for RAG - When to use GraphRAG vs LightRAG - Microsoft GraphRAG tutorial - LightRAG tutorial - Reducing LLM API costs #GraphRAG #LightRAG #RAG #LLM #AI #MachineLearning #KnowledgeGraph #AIEngineering #Tutorial
