Weaviate Podcast

AutoIndex with Sam O'Nuallain - Weaviate Podcast #143!

Sep 7, 2026
Sam O’Nuallain, an AI researcher and engineer, explores AutoIndex, a system where coding agents optimize how documents are represented for retrieval. They discuss chunking, enrichment, BM25, and diagnosing search failures through examples from Stack Overflow and movie discovery. The conversation also covers contextual retrieval, structured data, production AI engineering, QA loops, continual learning, and why agent memory is fundamentally a retrieval challenge.
Ask episode
AI Snips
Chapters
Transcript
Episode notes
INSIGHT

AutoIndex Optimizes Data Representation

  • AutoIndex improves retrieval by learning how to represent a corpus rather than modifying the retriever or reranker.
  • Its output can be any representation artifact, including programs that reorganize data for better recall or nDCG.
INSIGHT

Why Indexing Works As Code Optimization

  • Representation programs turn indexing experiments into executable, reusable code that frontier LLMs can write efficiently.
  • Applying one Python program across a corpus is cheaper than sending every document through an LLM, while execution remains verifiable.
INSIGHT

Chunking Makes Gold Labels Complicated

  • Chunking changes can invalidate document-level gold labels, so retrieval evaluation needs aggregation that recognizes split relevant documents.
  • AutoIndex optimizes retrieval metrics such as recall and nDCG rather than treating a particular chunk boundary as sacred.
Get the Snipd Podcast app to discover more snips from this episode
Get the app