Why Your RAG Pipeline Is Broken, and How to Fix It with Jason Liu - 709

Topics covered
Popular Clips
Questions from this episode
- Asked by 33 people
- Asked by 23 people
- Asked by 22 people
- Asked by 12 people
- Asked by 11 people
- Asked by 10 people
- Asked by 8 people
- Asked by 6 people
- Asked by 5 people
- Asked by 4 people
Episode Highlights
Embedding Choices
highlights the complexity of choosing between off-the-shelf and custom embeddings in retrieval-augmented generation (RAG) systems. He emphasizes the importance of testing over guessing, suggesting that companies should invest in robust datasets to evaluate their embedding strategies effectively 1. Jason notes that many companies mistakenly rely on external embedding models, assuming they will perfectly match their specific needs, which often leads to suboptimal results 2.
It's really a big assumption to think that we know what is and is not similar in this embedding space.
---
He argues that understanding the nuances of embeddings is crucial for improving retrieval systems and avoiding common pitfalls.
Chunking Impact
The effectiveness of chunking strategies in RAG systems is another critical area 1. explains that chunking can significantly impact retrieval performance, especially when dealing with structured data like tables within PDFs 3. He shares that while some chunking strategies may only offer marginal improvements, others can lead to substantial gains, highlighting the importance of experimentation and testing.
There are times when using hybrid search with embeddings and BM25 is like 3% better.
---
Jason stresses the need for companies to tailor their chunking approaches to their specific datasets and use cases.
Long Context Use
Long context models offer unique advantages in RAG systems by allowing more comprehensive data processing. describes how these models can be used to handle complex tasks, such as generating personalized pricing from lengthy transcripts and documents 4. He explains that while long context doesn't guarantee a one-shot answer, it facilitates a structured approach to problem-solving by breaking down information into manageable parts 5.
Long context can be a convenience for you.
---
This method enables more sophisticated reasoning and decision-making processes, enhancing the overall effectiveness of RAG systems.
Related Episodes


AI Agents and Data Integration with GPT and LLaMa with Jerry Liu - 628
Answers 383 questions

Why Agents Are Stupid & What We Can Do About It with Dan Jeffries - 713
Answers 383 questions

Visual Generative AI Ecosystem Challenges with Richard Zhang - 656
Answers 383 questions

AI Agents for Data Analysis with Shreya Shankar - 703
Answers 383 questions

AI Engineering Pitfalls with Chip Huyen - 715
Answers 383 questions

Building a Unified NLP Framework at LinkedIn with Huiji Gao - #481
Answers 383 questions

A Social Scientist’s Perspective on AI with Eric Rice - #511
Answers 383 questions

AI Agents: Substance or Snake Oil with Arvind Narayanan - 704
Answers 383 questions

Engineering the Future of AI with Ruchir Puri - #21
Answers 383 questions

Engineering A ML-Powered Developer-First Search Engine with Richard Socher - #582
Answers 383 questions

Pragmatic Deep Learning for Medical Imagery with Prashant Warier - TWiML Talk #165
Answers 383 questions

Reinforcement Learning for Personalization at Spotify with Tony Jebara - 609
Answers 383 questions

Information Extraction from Natural Document Formats with David Rosenberg - #126
Answers 383 questions

Hyper-Personalizing the Customer Experience with AI, w/ Rob Walker - #127
Answers 383 questions

AI for Network Management with Shirley Wu - 710
Answers 383 questions













