Retrieval Augmented Generation (RAG) is the use of retrieval methods (e.g. via search and vector stores) to provide generative models with additional context, or grounding.
Schema of a Production RAG System
Simplified Schema of a Production RAG System
Retrieval-Only LLM Testing in a RAG System
Different Types of Testing in a RAG System