Graph RAG: Improving RAG with Knowledge Graphs

Published 2024-07-04
Discover Microsoft’s groundbreaking GraphRAG, an open-source system combining knowledge graphs with Retrieval Augmented Generation to improve query-focused summarization. I’ll guide you through setting it up on your local machine, demonstrate its functions, and evaluate its cost implications.

LINKS:
Graph RAG: tinyurl.com/y3f9cbnd
Github: github.com/microsoft/graphrag
GraphRAG flowchart: tinyurl.com/2s4ytcur
RAG flowchart: tinyurl.com/56mwzkk7
Community Creation: tinyurl.com/54n88c2j

💻 RAG Beyond Basics Course:
prompt-s-site.thinkific.com/courses/rag

Let's Connect:
🦾 Discord: discord.com/invite/t4eYQRUcXB
☕ Buy me a Coffee: ko-fi.com/promptengineering
|🔴 Patreon: www.patreon.com/PromptEngineering
💼Consulting: calendly.com/engineerprompt/consulting-call
📧 Business Contact: [email protected]
Become Member: tinyurl.com/y5h28s6h

💻 Pre-configured localGPT VM: bit.ly/localGPT (use Code: PromptEngineering for 50% off).

Signup for Newsletter, localgpt:
tally.so/r/3y9bb0


00:00 Introduction to GraphRAG and Its Cost Issue
00:44 Understanding Traditional RAG
01:46 Limitations of Traditional RAG
02:22 Introduction to GraphRAG
02:39 Technical Details of GraphRAG
05:46 Setting Up GraphRAG on Your Local Machine
06:22 Running the Indexing Process
12:00 Running Queries with GraphRAG
14:26 Cost Implications and Alternatives


All Interesting Videos:
Everything LangChain:    • LangChain  

Everything LLM:    • Large Language Models  

Everything Midjourney:    • MidJourney Tutorials  

AI Image Generation:    • AI Image Generation Tutorials  

All Comments (21)
  • Would really appreciate the comparison of all the Graph based RAG frameworks, like LlamaIndex's Property Graph RAG, MS's GraphRAG etc.
  • @abhijitbarman
    Thanks for sharing this video.I would love to see a comparison between different Graph RAG solutions.
  • @roguesecurity
    Thanks for sharing this video. It was very informative. I would love to see a comparison between different Graph RAG solutions.
  • @user-wr4yl7tx3w
    this looks great. yes, would be interested to compare against llamaindex.
  • @aa-xn5hc
    Great. Please more on this topic
  • Excellent concise introduction on GraphRAG and why, how, when it is needed. Please compare this with Neo4j and Llama Index.
  • @robboerman9378
    Very useful, also good to share the associated cost. It would be very interesting to see a video comparing the different GraphRAG implementations as you mentioned.
  • Another great choice of important topics and video to show the current best implementations. Thank you!
  • @positivevibe142
    Thanks for stating that Microsoft Graph RAG is limited in contextual understanding, I already noticed that but thought that I messed up somewhere in my setup/building. Excellent, informative, and precise details! Thanks again!
  • @paulmiller591
    Great video and very timely. Please do more like these.
  • @AliKazemi-h1b
    Great job. Please publish more videos about GraphRAG with other competitors.
  • @Ayush-tl3ny
    Can you please tell how can we change the embedding model to use some open source embedding
  • @MPReilly2010
    Excellent! Outstandingly thorough and clear details. Subscribing now.
  • Great video! Could this be used with other models like Claude or maybe even OS models?
  • @jeffsteyn7174
    Excellent. Going to subscribe for more info. Maybe i missed it but it seems like theres no specialised db used like with neo4j. So effectively we can use any data store?
  • @DePhpBug
    Been wondering , especially the book.txt , let's say if is a .json object will our RAG works well with json objective when we feed those data into doing embedding etc through the RAG proceess?
  • @henkhbit5748
    Thanks, if we can use open-source LLM then the cost will be less or use groq, right?. There are no examples using python code instead of command line?