14

Advanced RAG-Related Techniques for Improving Results

In this final chapter, we explore several advanced techniques to improve retrieval-augmented generation (RAG) applications. These techniques go beyond the fundamental RAG approaches to tackle more complex challenges and achieve even better results. Our starting point will be techniques we have already used in previous chapters. We will build off those techniques, learning where they fall short so that we can introduce new techniques that can make up the difference and take your RAG efforts even further.

Throughout this chapter, you will gain hands-on experience implementing these advanced techniques through a series of code labs. Our topics will include the following:

  • Naïve RAG and

Get Unlocking Data with Generative AI and RAG now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.