---
title: "Retrieval-Augmented Generation (RAG)"
description: "The technique of grounding LLM answers in retrieved documents."
topic: "AI Concepts"
canonical: "https://geordy.ai/glossary/ai-concepts/rag"
---
# Retrieval-Augmented Generation (RAG)

The technique of grounding LLM answers in retrieved documents.

RAG is the dominant pattern for production AI applications: embed your documents, embed the user's query, retrieve the closest matches, and feed those into the LLM as context. Sites with clean structured data are dramatically easier to retrieve from accurately.
---

Source: https://geordy.ai/glossary/ai-concepts/rag
This is a machine-readable markdown version of that page, generated by Geordy.