WhoBuilt

AI on Your Lakehouse: Context Comes in Shapes, Not Queries

Jul 23, 2026· 1 h 59 min· 7.6K views·Watch on YouTube

Speaker

Zach Blumenfeld, an AI research engineer at Neo4j, leads an AI Engineer workshop on using graph structures to give agents better context across lakehouse data.

Why lakehouse agents need more context

Blumenfeld describes a lakehouse with structured warehouse tables and unstructured documents. Text to SQL and vector search can retrieve data, but agents may miss connections or fail to identify gaps across large datasets. He introduces three graph shapes: connections, document outlines, and themes.

Connections guide warehouse queries

For the fictional AutoFix Group, Neo4j Aura builds a metadata graph from BigQuery tables, columns, and join paths. The graph guides an agent to write SQL without copying warehouse data into Neo4j. Blumenfeld says this can help when schemas grow large, while moving operational data into a graph may add sync, security, and ETL challenges.

Document outlines support navigation

Blumenfeld models manuals, bulletins, and recalls as a deterministic graph of folders, documents, sections, and links. Hierarchical URIs let an agent retrieve an outline, follow cross references, and scope full text search to a subtree. The load is idempotent, and its structure relies on the source documents being parsed reliably.

Themes reveal corpus wide patterns

Using document links, Neo4j Graph Data Science, and Leiden community detection, Blumenfeld groups related documents into themes. The output includes linked documents and measures such as conductance, without using an LLM to name groups. Teams can use the clusters to inspect documentation coverage and adjust granularity with parameters such as gamma.

Combine shapes for repair and coverage questions

Blumenfeld demonstrates an AutoFix technician question that combines document search and navigation with warehouse repair history to identify a replacement part. He also shows broader questions about mismatches between procedures and field repairs, and how themes correlate with work orders. The structured and unstructured graphs are not linked in this example; the agent connects them at query time.

Takeaways

  • Keep warehouse records in place and use a metadata graph to guide joins when data movement is costly.
  • Represent document hierarchy and cross references so agents can navigate beyond similarity search.
  • Use deterministic document structure as a practical starting point when source documents already contain reliable organization and links.
  • Apply community detection to surface document groupings and investigate possible coverage gaps.
  • Benchmark graph guided workflows against existing retrieval methods on the data and questions that matter to your team.

Mentioned in this talk

Search inside this talk

What was claimed 14

Show all 14 facts

Related talks