GraphRAG: Building a Smarter AI System (full walkthrough)

From the creator

πŸ“ˆ Get started with SerpApi for free πŸ‘‰ https://serpapi.link/thu-vu πŸ’» Git repo for this tutorial πŸ‘‰ https://github.com/thu-vu92/graphRAG πŸ“ Original Microsoft's GraphRAG paper πŸ‘‰ https://arxiv.org/pdf/2404.16130 🌟 Master Python and Build Awesome AI Projects πŸ‘‰ https://python-course-earlybird.framer.website/?&utm_source=lessonsdegree πŸ“© Get FREE weekly AI & data insights πŸ‘‰ https://thu-vu.ck.page/49c5ee08f6 πŸ”‘ TIMESTAMPS β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€ 0:00 - Today's project 1:10 - SerpApi 1:35 - The problem with standard RAG 4:01 - What is GraphRAG 4:50 - When to use GraphRAG vs. standard RAG 5:54 - How GraphRAG works 6:41 - Scraping article data with SerpApi 15:01 - GraphRAG pipeline 15:27 - 1. Importing libraries 16:04 - 2. Configuration 17:14 - 3. Defining ontology 18:37 - 4. Graph extraction prompt 20:40 - 5. Pydantic data model 22:21 - 6. Extracting entities & relationships (and descriptions) 23:45 - 7. GraphRAGStore 24:46 - 8. Querying engine 26:10 - 9+10. Load article data 27:03 - 11. Build knowledge graph 29:44 - 12. Build communities & Generate summaries 30:24 - 13. Visualize graph with d3.js 32:01 - 14. Query the GraphRAG system 35:24 - Conclusions #graphrag #ai #ThuVu

Choose to Build with AI
Matched to AI Agents

AI Maker Residence 3

The third AI workshop taught by our legendary teacher, Nick Sarafa. This is a full-day hands-on training workshop for purposeful co-creation with AI using Claude Code. Imagine having access to hundreds of billions of dollars of computing power and knowing exactly how to make it work for you through the power of super intelligence.

β—† Fri 09 Oct 2026 β—† KOKO Cafe, London β—† With Nick Sarafa
AI Maker Residence 3
Live event
AI Maker Residence 3
Fri 09 Oct 2026

More like this

Running one yourself?

List your AI event,
wherever it is.

A meetup, a workshop, a hackathon, a conference. Any city, or online. Tell us about it and it lands in front of people already learning this stuff.