Skip to Content
View all events

AI Superstream: Retrieval-Augmented Generation (RAG) in Production

Published by O'Reilly Media, Inc.

Beginner to advanced content levelBeginner to advanced

Leveraging Your Data for AI Applications

Retrieval-augmented generation (RAG) has the potential to revolutionize how machines understand and generate human language. Join us to learn how to leverage the pioneering concepts and emerging technologies behind RAG in production environments today.

Leading experts in the field will help you unravel the mysteries of integrating traditional generative models with the latest retrieval techniques to enhance the relevance, accuracy, and contextuality of generated text. You’ll discover the practicalities of meshing RAG with your current systems, get tips on optimizing your information retrieval processes, find out how to overcome common hurdles in production deployment, and much more.

What you’ll learn and how you can apply it

  • Understand the foundations of retrieval-augmented generation and its benefits for AI-powered applications
  • Explore real-world AI applications that leverage RAG to improve accuracy and reliability
  • Discover the challenges of putting RAG systems in production and learn solutions for dealing with them

Recommended follow-up:

Schedule

The time frames are only estimates and may vary according to how the class is progressing.

Introduction – Susan Shu Chang (5 minutes)

  • Susan Shu Chang welcomes you to the AI Superstream.

Keynote: Systems Over Models—Tackling High-Stakes Use Cases with RAG 2.0 – Douwe Kiela (15 minutes)

  • RAG 2.0 is Contextual AI’s proprietary approach for solving mission-critical AI use cases, where accuracy requirements are high and there’s a low tolerance for mistakes and hallucinations. Douwe Kiela, Contextual AI’s cofounder and CEO, sheds light on how this approach differs from classic RAG, the common pitfalls and limitations while moving into production, and why AI practitioners would benefit from focusing less on individual model components and more on the systems-level perspective.

Beyond Traditional RAG: Dual-System Architecture and Efficient Retrieval – Faye Zhang (30 minutes)

  • Transform your applications with recent advances in RAG that achieve 40% higher efficiency while handling 80,000-token contexts at a fraction of the computational cost. Pinterest staff software engineer Faye Zhang presents two practical approaches: a dual-system architecture that intelligently combines lightweight and powerful models, and a new retrieval technique that reduces GPU demands through dynamic sparsity. Learn how to implement these proven methods to build faster, more efficient, and more capable AI systems that excel at both simple queries and complex analytical tasks.

Break (5 minutes)

Building a Recommender System with RAG for LLMs – Apoorva Joshi (30 minutes)

  • Before we started using generative AI models for everything, we were mostly building specialized models, trained on specific datasets, to solve specific problems. If we are to now use the same model for different tasks, we need to present the model with the most relevant data for the task at hand. Some might call this retrieval-augmented generation, but really it’s a good old recommender system for large language models instead of humans. Apoorva Joshi, an AI developer advocate at MongoDB, dives deep into hybrid search, a commonly used retrieval technique in RAG systems, and explains how combining it with metadata filtering and reranking algorithms results in a scalable recommender system for LLMs (a.k.a. RAG).

Authorizing LLM Responses by Filtering Vector Embeddings – Greg Sarjeant (Sponsored by Oso) (30 minutes)

  • Large language models open up a new way to interact with your data: Your users can now use a natural language interface rather than traditional search to get back relevant information. But the flexibility and scale of LLMs make it harder to ensure that you don’t leak sensitive data. Oso developer advocate Greg Sarjeant explores these challenges and shows you how to use retrieval-augmented generation to build an authorized LLM chatbot that protects your data.
  • This session will be followed by a 30-minute Q&A in a breakout room. Stop by if you have more questions for Greg.

Break (5 minutes)

Building Agentic RAG Applications in Minutes – Ofer Mendelevitch (30 minutes)

  • Agentic RAG extends standard RAG applications into powerful AI assistants and agents with advanced capabilities. By equipping LLMs with access to external tools—such as real-time data sources, APIs, or database access—developers can elevate AI systems beyond simple query engines, turning them into powerful problem-solvers that adapt to dynamic needs. Ofer Mendelevitch, who leads developer relations at Vectara, takes you though building agentic RAG applications step-by-step, delving into the technical details of a real-world example and offering solutions to the challenges you’re likely to face, such as picking the right tools and preventing hallucinations.

Graph RAG: Building Production-Ready Agentic Systems – Anthony Alcaraz (30 minutes)

  • Learn how to overcome the limitations of traditional AI approaches by leveraging graph-native architectures for enhanced reasoning capabilities and enterprise scalability. Anthony Alcaraz, AWS's senior AI/ML strategist for EMEA startups, discusses how to build intelligent systems using Graph RAG, integrating knowledge graphs, autonomous agents, and neural-symbolic reasoning. You’ll dive into practical implementation patterns, architectural principles, and real-world case studies that demonstrate how to design, develop, and deploy production-ready agentic systems.

Break (5 minutes)

Where Is RAG Going? Increased Indexing Time Compute for Better, Faster, Cheaper Answers – Max Buckley (30 minutes)

  • The constraints and design decisions underpinning RAG came from limitations in the LLM models of an earlier era. As these constraints dissolve, we can seize the opportunity to redesign our systems to be simultaneously more powerful and more flexible. Max Buckley, a senior software engineer at Google, will examine common failure modes of traditional RAG systems and demonstrate how increasing indexing time compute can address these challenges, giving your RAG system access to enriched, more accurate chunks with more information, including precomputed answers for anticipated queries, enabling faster, more efficient responses.

Making RAG Pipelines Work in the Real World: Challenges and Solutions – Nikhil Pentapalli and Surabhi Bhargava (30 minutes)

  • Adobe senior machine learning engineer Nikhil Pentapalli and machine learning tech lead Surabhi Bhargava outline real-world challenges and practical solutions for deploying retrieval-augmented generation systems at production scale. They’ll introduce the RAGOps stack, detailing the journey from taking a concept all the way to production while addressing key issues such as data and retrieval inefficiencies, latency management, cost optimization, evaluation, and more.

Closing Remarks – Susan Shu Chang (5 minutes)

  • Susan Shu Chang closes out today’s event.

Your Hosts and Selected Speakers

Susan Shu Chang

Susan Shu Chang is a principal data scientist at Elastic (of Elasticsearch), with previous ML experience in fintech, telecommunications, and social platforms. Susan is an international speaker, with talks at six PyCons worldwide and keynotes at Data Day Texas, PyCon DE & PyData Berlin, and O’Reilly’s AI Superstream. She writes about machine learning career growth in her newsletter, susanshu.substack.com. In her free time she leads a team of game developers under Quill Game Studios, with multiple games released on consoles and Steam.

linkedinXlinksearch

Douwe Kiela

Douwe Kiela is the cofounder and CEO of Contextual AI as well as an adjunct professor in symbolic systems at Stanford University. Previously, he was the head of research at Hugging Face and a research lead on Meta’s Fundamental AI Research (FAIR) team, where he pioneered retrieval-augmented generation (RAG) among other key AI breakthroughs. His work in multimodality, alignment, and evaluation has set new standards in the field of AI and has made systems safer, more reliable, and more accurate.

Faye Zhang

Faye Zhang is a staff software engineer at Pinterest, where she leads AI-driven search traffic initiatives and launched the company's first successful GenAI production experiment, driving significant user engagement growth. With a computer science degree from Georgia Tech and ongoing AI graduate studies at Stanford, she combines deep technical expertise in distributed systems with cutting-edge AI research. Her work spans both industry and academia, including contributions to university genomic science research. She regularly shares insights on AI innovation at technical conferences in San Francisco and Paris, focusing on scalable AI solutions that transform user experiences.

Apoorva Joshi

Apoorva Joshi is a data scientist turned developer advocate, with over six years of experience applying machine learning to problems in cybersecurity. As an AI developer advocate at MongoDB, she now helps developers succeed at building AI applications through written content and hands-on workshops.

Greg Sarjeant

Greg Sarjeant is in developer relations at Oso. He’s worked in technology for nearly 30 years as everything from a software developer to a DevOps practitioner to engineering leadership. These days he spends most of his time writing about authorization and enjoying looking at technology problems from a different perspective.

Ofer Mendelevitch

Ofer Mendelevitch is an AI and ML leader specializing in building production systems with large language models, retrieval-augmented generation, and agentic workflows. He’s the author of Practical Data Science with Hadoop (Addison-Wesley) and Hands-On RAG for Production (O’Reilly).

linkedinXsearch

Anthony Alcaraz

As AWS’s senior AI/ML strategist for EMEA startups, Anthony Alcaraz specializes in guiding early-stage AI companies through technical development and go-to-market strategies. His experience encompasses a wide range of cutting-edge domains—including large language models, generative AI architectures, knowledge graphs, vector spaces, MLOps, and agentic AI systems. Anthony has led AI strategy for venture-backed startups, built and scaled machine learning platforms for enterprise clients, and lectured at Oxford on the latest in LLM and graph-based solutions. Alongside providing rigorous technical due diligence for AI investments, Anthony helps optimize architectures on AWS AI/ML services, craft GTM strategies, and evaluate generative AI applications. His passion lies in empowering founders and investors to successfully navigate the complexities of building transformative AI companies, offering deep technical evaluation, architectural guidance, and strategic insights geared toward accelerating startup success.

Nikhil Pentapalli

Nikhil Pentapalli is a senior machine learning engineer at Adobe, recognized for his work in document intelligence, natural language processing (NLP), computer vision, and generative AI. With a background working with startups to scale and contributing to big tech companies, he’s earned himself a reputation of delivering impact through his work deploying chatbots, search and RAG, and LLMs to production. Beyond his professional achievements, Nikhil provides mentoring and participates in hackathons and industry conferences, constantly interacting with the AI and machine learning community.

Surabhi Bhargava

Surabhi Bhargava is a machine learning tech lead at Adobe, known for her expertise in developing and scaling AI-driven products. With a solid background in transitioning ML research to production, she currently leads Adobe's generative AI efforts for Acrobat, driving innovative features like multidocument Q&A, retrieval-augmented generation pipelines, LLM evaluation, and intent detection. Beyond her technical work, Surabhi is an active member of the ML community, contributing through research, talks, and mentoring. She’s passionate about shaping the next generation of AI leaders by sharing her knowledge and experience.

Max Buckley

Max Buckley is a senior software engineer at Google, where he currently leads several internal LLM knowledge management efforts. He’s spent 11 years working on a broad range of products and systems at Google. Recently, Max helped build the largest data processing production platform at the company and was a machine learning engineer for Google Cloud’s AML AI product. He holds two MS degrees: one in business analytics from University College Dublin and one in software engineering from the University of Oxford. Max lives in Zurich, Switzerland, with his girlfriend. In his free time, he can be found drinking excessive amounts of coffee and looking for new side projects.

Skill covered

Retrieval Augmented Generation (RAG)

Sponsored by

  • Oso Security logo