RAG stands for Retrieval-Augmented Generation.
It’s a technique where search results (retrieval) are combined with Generative AI to generate content (Generation).
This technique solves two key problems:
- AI models (LLMs) lack knowledge because it wasn’t part of the training data set. This is so because the information was after a cutoff date or it’s proprietary data or confidential data.
- Ground the LLM to prevent it from making up things aka the hallucination problem.