Advanced RAG

Learn about advanced RAG with its pre-retrieval, retrieval, and post-retrieval processes.

While naive RAG provides a foundation for using LLMs with document retrieval, it has limitations. For instance, the retrieval accuracy might not be perfect, potentially leading to irrelevant information being used as context. Additionally, the LLM might struggle to integrate retrieved information seamlessly, resulting in disjointed responses. In this lesson, we'll look at advanced RAG and explore its workflow.

Improving retrieval process

Advanced RAG builds on naive RAG by introducing improvements in retrieval quality. It adds pre-retrieval and post-retrieval strategies before and after the retrieval process. Let’s look at the figure below:

Get hands-on with 1200+ tech skills courses.