Retrieval-Augmented Generation (RAG) — AI Glossary

Retrieval-augmented generation (RAG) is an architecture that enhances AI model responses by first retrieving relevant information from an external knowledge base and then including that information in the prompt for the model to reference. RAG combines the language capabilities of LLMs with the accuracy of curated data sources, significantly reducing hallucinations.