Home/Glossary/RAG (Retrieval-Augmented Generation)

Technique

What is RAG (Retrieval-Augmented Generation)?

Retrieval-augmented generation: before answering, the system retrieves passages from your documents and adds them to the prompt, so the model answers from your sources rather than from memory alone. It reduces hallucination on private data. On a Mac, both the embedding model that finds the passages and the LLM that answers can run locally, for example through Ollama.

Where RAG (Retrieval-Augmented Generation) comes up on LLMCheck

Browse all 130 models in the index →

Related terms

All 39 terms in the LLMCheck glossary →