-
Book Overview & Buying
-
Table Of Contents
RAG from First Principles
By :
Lewis: The various techniques mentioned earlier lay the groundwork for retrieval implementation. In this section, our core focus is on how to make retrieval more accurate, but there are many reasons why retrieval may be inaccurate.
Anna: Lewis, you’ve got right to the point. Indeed, in actual projects, even though we want to improve retrieval accuracy, we often feel at a loss as to where to start.

Figure 6.1: Key directions for improving retrieval accuracy
Lewis: The RAG process contains multiple stages, and there are many possible points of failure. Similarly, optimizing any of these can potentially improve the accuracy of the entire RAG system.
In this section, we will provide a series of concrete strategies to improve retrieval quality from the perspective of optimizing text block indexing.

Figure 6.2: Overview of index optimization strategies for improving RAG retrieval quality