Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Why Your RAG Gives Wrong Answers and 4 Chunking Strategies to Fix It - LangChain Text Splitters

Venelin Valkov via YouTube

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Learn four advanced chunking strategies to fix wrong answers in your RAG (Retrieval-Augmented Generation) system through this 18-minute technical tutorial. Discover why naive text splitting destroys context and breaks semantic meaning, then explore structure-aware chunking that respects document organization, semantic chunking that understands meaning beyond just text, LLM-driven chunking for handling complex requirements, and contextual enrichment techniques that connect isolated chunks. Follow along with practical implementations using LangChain text splitters, starting with basic character text splitting and progressing through markdown heading-based splitting, semantic chunking methods, and LLM-driven approaches. Examine a bonus technique featuring visual grounding and get guidance on selecting the most appropriate chunking strategy for your specific use case. Access complete source code, written guides, and additional resources including context rot research and chunking technique evaluation reports to deepen your understanding of effective context engineering in RAG systems.

Syllabus

00:00 - Why you still need chunking
03:34 - Document that we'll slice and dice chunk
04:20 - Character text split
06:10 - Markdown heading text split
07:55 - Semantic chunking
10:17 - LLM-driven chunking
13:51 - Bonus technique + visual grounding
16:26 - Which chunking strategy to use?

Taught by

Venelin Valkov

Reviews

Start your review of Why Your RAG Gives Wrong Answers and 4 Chunking Strategies to Fix It - LangChain Text Splitters

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.