9 RAG Development Framework & Further Exploration

 

This chapter covers

  • Recap of the concepts covered in this book through a RAG development framework
  • Six stages and best practices of RAG development
  • Areas for further exploration in RAG

In the previous eight chapters we have covered a wide breadth of Retrieval Augmented Generation including a conceptual foundation, critical components, evaluation methods, advanced techniques, the operations stack and essential variants of RAG. By now, you are equipped with the necessary information required to develop RAG systems.

This concluding chapter of the book will summarize the discussion and recap all the concepts we have previously discussed. To accomplish this, we will put all the different aspects of developing RAG systems together and come up with a RAG development framework. Across the six stages of this RAG development framework, we will recap the concepts covered in this book along with some best practices. This framework will not only cover the technical aspects but also look at the development process holistically.

RAG is a rapidly evolving technique. At the end of this chapter, we will also discuss some of the ideas that you can explore further. Some of these approaches to incorporating context may compete with the RAG technique while others may be complementary.

By the end of this chapter, you should:

9.1 RAG Development Framework

 
 

9.1.1 Initiation Stage: Defining and Scoping the RAG System

 
 

9.1.2 Design Stage: Layering the RAGOps Stack

 
 
 

9.1.3 Development Stage: Building Modular RAG Pipelines

 
 
 

9.1.4 Evaluation Stage: Validating and Optimizing the RAG System

 
 
 

9.1.5 Deployment Stage: Launching and Scaling the RAG System

 
 
 

9.1.6 Maintenance Stage: Ensuring Reliability and Adaptability

 

9.2 Ideas for further exploration

 
 
 
 

9.2.1 RAG vs Fine-tuning

 
 
 
 

9.2.2 Long Context Windows in LLMs

 
 

9.2.3 Managed Solutions

 
 
 

9.2.4 Difficult Queries

 
 
 

9.3 Summary

 
 
sitemap

Unable to load book!

The book could not be loaded.

(try again in a couple of minutes)

manning.com homepage
test yourself with a liveTest