AI on Your Lakehouse: Context Comes in Shapes, Not Queries — Zach Blumenfeld, Neo4j
- Source
- youtube.com
- Author
- AI Engineer
- Date

Context
An searching technical manuals can benefit from knowing how the documents are organized. In this Neo4j workshop, a graph is built from simulated repair manuals: documents contain ordered sections, and named links connect one section or document to another. The structure is loaded with deterministic parsing (regular expressions rather than an ), which works here because the manuals are consistently formatted.
The agent can use an outline to choose a section, retrieve its text and follow a link into another document, and can also run full-text search scoped to part of that hierarchy. This supplies a navigation path alongside keyword search, helping it collect connected . In one demonstration the agent skipped the outline and took a slower search route. The presenter says no benchmarking was run on this setup and calls the course conceptual, so no accuracy or performance advantage is established.
- AI agent — An AI system that doesn't just answer once but works toward a goal in a loop — taking actions, reading the results, and deciding what to do next.
- LLM — A large language model — the neural network behind tools like Claude and ChatGPT, trained on huge amounts of text to predict what comes next.
- context window — The maximum amount of text a model can consider at once — its working memory for the current conversation or task.
“an ontology helps something interpret and reason about the data. A semantic layer helps something understand what the consistent agreed upon terms are so it can query the data accurately.”
Zach Blumenfeld
“you can't really search for a negative. You have to search for things that are there.”
Zach Blumenfeld
“as you start adding data to it, it's almost like a bunch of pre-joined tables and everything's already interconnected”
Zach Blumenfeld
“graphs can be very useful when you start having these more global types of questions, these estate level questions that you want to ask”
Zach Blumenfeld
“it's going to go on the internet and get the Stack Overflow questions from like four or five or six years ago and it's going to give you outdated bad cipher basically”
Zach Blumenfeld
- 0:00Introduction: context comes in shapes, not queries
- 6:25The three graph shapes to build
- 10:56Environment setup: Codespaces and Neo4j
- 21:47Schema, shared terms, and join paths
- 45:25Shape 1: a table of contents for your data (trees)
- 50:30Building the containment tree and links
- 59:48Serving the graph to the agent over MCP
- 1:12:21Q&A: naming and the containment shape
- 1:22:54Shape 2: surfacing themes with communities
- 1:24:24Community detection with Leiden
- 1:31:09Hierarchical communities and naming themes
- 1:43:22Shape 3: connections and cross links
- 1:50:20Watching the agent use outlines and themes
- 1:55:05Wrap: theme types and real time linking
videoBetter AI Models Won't Fix Your Engineering Team — Nicholas Arcolano, Jellyfish
videoWhy AI Writing Still Reads Like Slop — Louis-François Bouchard, Towards AI
videoHow to Test AI Agents When No Benchmark Exists — Nathanael Weill, Air Canada
video1,368 AI Failures and What They Teach About Evals — Vishal Srivastava & Tanmay Sah, New York Life
Checking sign-in…
Loading comments…


