Session Overview
Understanding RAG Through Storytelling, and Guarding It in Production.
Sumit Mathur made Retrieval-Augmented Generation (RAG) click through a simple story. Picture a law firm owner named "Ragini" — standing in for RAG — who hires a brilliant consultant, "Lakir Laxman" (the LLM), with vast worldly knowledge but a habit of confidently making things up whenever asked about the firm's own internal data. To fix this, Ragini brings on "Rita Pal" (the Retriever), whose job is to search the firm's private documents, pull out the relevant snippets, attach specific instructions, and hand them to the LLM before it answers. That handoff is RAG in a nutshell — it's how organizations can put powerful generative AI to work on their own private, sensitive data securely, instead of relying on the model's general knowledge alone.
From there, Sumit turned to what it actually takes to run RAG systems safely in production. He walked through two of the biggest risks: hallucinations, where the AI confidently invents false information, and prompt injections, where malicious users craft confusing or hidden instructions to trick the AI into bypassing its rules. His practical guidance for developers: combine model tuning, careful prompt engineering, probabilistic detection models, and dedicated moderation layers to filter out hate, abuse, and profanity (HAP) before it ever reaches an end user.
Key Takeaways & Concepts
Session Highlights