Udemy
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
GraphRAG in Production
New
1 students

GraphRAG in Production

Real documents, production indexing and cost, LLM-judge evaluation, provenance and a GraphRAG agent · Ship track
Created byOC OC
Last updated 10/2026
English
Korean

What you'll learn

  • Prepare real PDF and HTML documents for indexing: parsing pitfalls, cleaning, and a token diet that cuts cost
  • Run a production-size GraphRAG index and read its wall time, token usage and dollar cost
  • Evaluate a knowledge graph: structure metrics, LLM-judged extraction quality, and answer quality against a vector baseline
  • Build a multi-source graph and trace an answer back to its source document and type
  • Build a GraphRAG agent with function calling and compare it with a simple router
  • Decide, with numbers, when GraphRAG is worth its cost and when it is not

Course content

5 sections • 19 lectures • 2h 9m total length
  • Welcome and course overview1:38

Requirements

  • A computer with Python 3.10+ (the notebooks were recorded on Python 3.11; `requirements.txt` in Resources pins the exact package versions)
  • Comfort reading Python code; you do not need to be an expert
  • GraphRAG basics: indexing, local and global search (the prerequisite course GraphRAG Hands-On: Knowledge Graphs for RAG, or equivalent)
  • An OpenAI API key; following the notebooks with the shipped indexes costs under a dollar in gpt-4o-mini calls (rebuilding every index adds about one dollar)

Description

This course contains the use of artificial intelligence.

The voice-over in this course is synthesized with a text-to-speech model from scripts written and reviewed by the instructor, and the on-screen material (notebooks, code, slides) is the instructor's own work.


A tutorial corpus never taught anyone what production feels like. This course runs GraphRAG on real public documents — US congressional records, bills and committee reports about artificial intelligence legislation, all public domain — and answers the question that decides whether you ship it: is this graph actually any good?


Section 1 is the document work nobody demos: downloading from govinfo, parsing PDFs and HTML, headers and reprinted text, a token diet that cut our corpus by a quarter, and a cost estimate before you spend anything. Then a production index, with settings, entity types and prompt tuning, and its real wall time and bill. Section 2 evaluates it: graph-structure metrics, entity-extraction quality judged by an LLM against the source text, automatically generated evaluation questions, and answer quality for local search, global search and a plain vector baseline. Section 3 builds multi-source graphs with provenance so an answer can be traced back to the source type it came from. Section 4 puts a function-calling agent in front of the graph and compares it with a simple router.


Every number in the course comes from a run you can repeat — including the uncomfortable one: on simple factual questions the plain vector baseline outscored both graph retrievals, at about a third of the cost of local search and a thirtieth of the cost of global search. That is taught as the first decision rule, not hidden. The finished indexes ship with the course, so you can follow every notebook without paying to re-index.

Who this course is for:

  • Engineers taking a GraphRAG prototype towards production
  • Teams that must justify retrieval cost with measurements
  • Data engineers dealing with messy PDF and HTML corpora
  • Anyone building agents on top of a knowledge graph