What is it?
RAG combines retrieval with generation so a model can use information supplied at runtime.
A RAG system searches a source collection, places selected results into the model context, and asks the model to answer from that context. The source may be documents, a database, or another trusted system.