While many people talk about “agents,” Shreya Shankar (UC Berkeley) has been building the systems that make them reliable. In this episode, she shares how AI agents and LLM judges can be used to process millions of documents accurately and cheaply.
Drawing from work on projects ranging from databases of police misconduct reports to large-scale customer transcripts, Shreya explains the frameworks, error analysis, and guardrails needed to turn flaky LLM outputs into trustworthy pipelines.
We talk through:
- Treating LLM workflows as ETL pipelines for unstructured text
- Error analysis: why you need humans reviewing the first 50–100 traces
- Guardrails like retries, validators, and “gleaning”
- How LLM judges work — rubrics, pairwise comparisons, and cost trade-offs
- Cheap vs. expensive models: when to swap for savings
- Where agents fit in (and where they don’t)
If you’ve ever wondered how to move beyond unreliable demos, this episode shows how to scale LLMs to millions of documents — without breaking the bank.
LINKS
- Shreya's website
- DocETL, A system for LLM-powered data processing
- Upcoming Events on Luma
- Watch the podcast video on YouTube
- Shreya's AI evals course, which she teaches with Hamel "Evals" Husain
🎓 Learn more:
- Hugo's course: Building LLM Applications for Data Scientists and Software Engineers — https://maven.com/s/course/d56067f338 ($600 off early bird discount for November cohort availiable until August 31)