Retrieval-Augmented Generation

RAG

Kind: pattern

Layer: Correctness Core

Aliases: RAG

Record: architecture:retrieval-augmented-generation

Severity: contextual

Scope: language-model system, knowledge retrieval

Canonical: Ontology

A design pattern that retrieves relevant documents for a question and passes them to the model, so the answer can cite its sources.

Listed in Architecture principles, after Model Inference and before Vector Search.

Requires

Reinforces

Enables

Conflicts with

In tension with

Tensions

Violated by

Refactored by

Severity

Category

Refactors

Reinforced by

Linked from