AINews Portal

AI Glossary

What is RAG (Retrieval-Augmented Generation)?

RAG bolts a search step onto generation: a query is embedded, similar documents are retrieved from a vector database, and those documents are placed in the prompt so the model answers from them instead of memory. It is the standard pattern for grounding models in private or fresh data and reducing hallucination.

← All terms