How to Stop Your AI from Making Things Up (RAG)
Every LLM hallucinates. ChatGPT, Claude, Gemini , doesn't matter how big the model. Ask it about your private docs or your company's policies and it will confidently invent an answer that sounds correct and is completely wrong. The fix isn't a smarter model. The fix is RAG , the system that forces your LLM to retrieve real context before it generates a single word. This session is the full breakdown. This is Week 7 of TAI's 12-week AI Engineering cohort. Our instructor Dr Akshika (Aki) Wijesundara walks through the full RAG mental model: chunking strategies, retrieval, re-ranking, the live build, and the eval metrics nobody talks about. By the end you'll know exactly what every part of a RAG pipeline does and which decisions actually move the needle. π JOIN THE NEXT COHORT β https://theaiinternship.com/ β’ 12 weeks, live mentor-led sessions β’ Build real projects: RAG, agents, fine-tuning, MCP, capstone β’ Small batches, direct access to instructors β’ Career support + portfolio reviews βββββββββββββββββββββ What you'll understand in 47 minutes: β Why every LLM hallucinates (and why fine-tuning doesn't fix it) β The full RAG pipeline: chunk β embed β store β retrieve β re-rank β generate β Five chunking strategies and when to pick each (fixed / document / semantic / recursive / agentic) β Pre-chunking vs post-chunking β and why it matters β Live demo: building a working RAG pipeline from scratch β The eval metrics most tutorials skip (hit@K, NDCG, BLEU, exact match) β How to safeguard your LLM from bad queries β Tracking + observability with Langfuse π CHAPTERS 0:00 Welcome β what is RAG? 2:33 RAG = Retrieval Augmented Generation 3:03 Why LLMs hallucinate without context 4:42 The RAG workflow, high-level 8:51 The full RAG pipeline 9:11 Chunking β your first big decision 13:44 Three chunking strategies (fixed / document / semantic) 17:06 Pre-chunking vs post-chunking 18:21 Recursive + hierarchical chunking 19:52 LLM-based + agentic chunking 22:23 Parent + child chunking 24:14 Retrieval β the second pillar 26:03 Live demo β building a RAG pipeline 28:46 Generating embeddings 29:55 Creating the vector database 33:48 Retrieval step deep-dive 35:51 The RAG pipeline object 37:59 Why RAG is hard β it's probabilistic 38:40 RAG evaluation: hit@K, NDCG, BLEU 43:09 Safeguarding your LLM from bad queries 44:19 This week's homework 45:36 Q&A β Langfuse + tracking 46:53 Wrap π οΈ TOOLS MENTIONED β’ Weaviate β https://weaviate.io β’ Pinecone β https://pinecone.io β’ Langfuse (tracking + eval) β https://langfuse.com β’ LangChain RAG β https://python.langchain.com/docs/tut... β’ sentence-transformers β https://www.sbert.net β’ OpenAI Embeddings β https://platform.openai.com/docs/guid... βββββββββββββββββββββ π THE FULL CURRICULUM W01 β Environment Setup & Your First OpenAI Call W02 β Build a ChatGPT Clone (Two Ways) W03 β REST APIs, JWT & FastAPI (Unhackable Backend) W04 β Vector Embeddings & Semantic Search W05 β Fine-Tuning ChatGPT (Turn It Into Your Company Intern) W08 β LangChain & LangGraph W09 β Build an MCP Server W11βW12 β Capstone project + showcase β Apply: https://theaiinternship.com/ About TAI β The AI Internship We train engineers to ship real AI products. 12-week mentor-led cohorts, real codebases, real deployment, real career outcomes. #RAG #AIHallucination #LLM #RetrievalAugmentedGeneration #AIEngineering #VectorDatabase #ChatGPT #TheAIInternship #BuildWithAI #PromptEngineering

Is RAG Still Needed? Choosing the Best Approach for LLMs

Is AI Hiding Its Full Power? With Geoffrey Hinton

How AI agents & Claude skills work (Clearly Explained)

Your Agent Should Start Before You Ask

Feed Your OWN Documents to a Local Large Language Model!

Learn 97% of Claude in Under 16 Minutes

You Can Be an AI Engineer in 35 Minutes (Here's How)

Harnesses in AI: A Deep Dive β Tejas Kumar, IBM

Andrej Karpathy: From Vibe Coding to Agentic Engineering w/ Stephanie Zhan

Mythos 5 new ability is AGI...

CLI vs MCP: How AI Agents Choose the Right Tool for the Job

Don't learn AI Agents without Learning these Fundamentals

Exposing The Solid State Donut Battery. It's Over.

We Tested Anthropicβs Fable 5 for a Week

The AI PM Playbook: Context, Evals, Cost & Shipping

RAG vs Fine-Tuning vs Prompt Engineering: Optimizing AI Models

Anthropic Workshop: Build Agents That Run for Hours β Ash Prabaker & Andrew Wilson

RAG Crash Course for Beginners

