Skip to main content
v2026.11,986 entries · CC-BY 4.0
CASRAICASRAI Working GroupsHelp write the standards you have to implement24 working groups propose, review and ratify the terms CASRAI publishes, one per dictionary domain. Community and observer seats start at about two hours a month; chairs and co-chairs give 6–8 hours a month. Applications are reviewed.Apply to join a group CASRAI · Volunteer seats
Dictionary termTrack AStablev2026.2

Retrieval-augmented generation (RAG)

An AI architecture in which an LLM is augmented at inference time with documents retrieved from an external corpus (often via vector similarity search), so that the model's outputs are grounded in retrieved evidence rather than relying solely on parametric knowledge.

ByCASRAI Editorial Board
· Last updated 22 Aug 2026

Working group for this domain: Generative AI use and disclosure working group

Share this

Ask CASRAI · full access

Ask about Retrieval-augmented generation (RAG)

Full access: large monthly usage, up to 10 source passages behind each answer, and MCP and API access for Claude Code, Codex and other CLIs. Cancel any time.

An AI assistant for research: funder rules, compliance, methods and publishing. It links the sources behind its answers and labels answers that come from a web search.

Answers draw on CASRAI's guides and dictionary plus the federal and funder documents we index: Federal Register, Grants.gov, Regulations.gov and UKRI.

Works on this site and inside Claude, Cursor and the AI tools you already use.

Everything CASRAI publishes — this page, the dictionary, the guides and the news — stays open to read, with no account and no card.

Editorial commentary

Retrieval-augmented generation (RAG) in practice

Retrieval-augmented generation (RAG) is an AI architecture in which a language model is supplemented at inference time with documents retrieved from an external corpus — typically via vector-similarity search over an embedding index — so that its output is grounded in retrieved evidence rather than relying solely on knowledge encoded in its parameters during training. A RAG system therefore has two components a plain language model does not: a retrieval index (the corpus it searches) and a retrieval step (what was actually pulled back for a given query), both of which should be disclosed alongside any output.

What RAG does and does not fix

RAG reduces, but does not eliminate, hallucination: a model can still misread, misquote, or over-generalise from retrieved passages, and a poorly configured retrieval step can surface irrelevant or outdated documents that the model then treats as authoritative. Grounding in retrieved text is not the same as verified accuracy.

Disclosure expectations for scholarly use

Where RAG is used for literature search, evidence synthesis, or drafting assistance in research, the corpus searched (which database, what date range, what access restrictions), the retrieval method, and the underlying model version should all be recorded — the retrieved-document set is itself a form of methodology that affects reproducibility of the output, in the same way a search strategy is reported in a systematic review.

References

Examples

Worked examples

  • Is an instance

    A research assistant that retrieves PubMed abstracts via vector search and feeds them to GPT-4 to answer a clinical question

Counter-examples

Looks similar, but isn't

  • Not an instance

    A plain LLM that answers from its training corpus without retrieving any external documents is not RAG

Also known as

RAG · Retrieval-augmented LLM

Machine-readable encodings

Use in your systems

JATS XML <kwd> element
xml
<kwd vocab="CASRAI Dictionary"
     vocab-identifier="https://casrai.org/dictionary/"
     vocab-term="Retrieval-augmented generation (RAG)"
     vocab-term-identifier="https://casrai.org/dictionary/term/retrieval-augmented-generation">Retrieval-augmented generation (RAG)</kwd>
Schema.org DefinedTerm (JSON-LD)
Schema.org DefinedTerm (JSON-LD)
json
{
  "@context": "https://schema.org",
  "@type": "DefinedTerm",
  "@id": "https://casrai.org/dictionary/term/retrieval-augmented-generation",
  "name": "Retrieval-augmented generation (RAG)",
  "identifier": "https://casrai.org/dictionary/term/retrieval-augmented-generation",
  "description": "An AI architecture in which an LLM is augmented at inference time with documents retrieved from an external corpus (often via vector similarity search), so that the model's outputs are grounded in retrieved evidence rather than relying solely on parametric knowledge.",
  "inDefinedTermSet": "https://casrai.org/dictionary/domain/genai-disclosure#set",
  "url": "https://casrai.org/dictionary/term/retrieval-augmented-generation",
  "alternateName": [
    "RAG",
    "Retrieval-augmented LLM"
  ],
  "license": "https://creativecommons.org/licenses/by/4.0/",
  "publisher": {
    "@id": "https://casrai.org/#organization"
  },
  "author": {
    "@id": "https://casrai.org/#editorial-team"
  },
  "datePublished": "2026-05-21T01:57:21Z",
  "dateModified": "2026-08-22T15:44:00Z",
  "inLanguage": "en",
  "isAccessibleForFree": true
}

Referenced across the research world

University of Cambridge logoColumbia University logoCrossref logoUniversity of Edinburgh logoHarvard University logoUniversity of Oxford logoPrinceton University logoStanford School of Medicine logoUniversity College London logoORCID logoUniversity of Cambridge logoColumbia University logoCrossref logoUniversity of Edinburgh logoHarvard University logoUniversity of Oxford logoPrinceton University logoStanford School of Medicine logoUniversity College London logoORCID logo
  • University of Cambridge logo
  • Columbia University logo
  • Crossref logo
  • University of Edinburgh logo
  • Harvard University logo
  • University of Oxford logo
  • Princeton University logo
  • Stanford School of Medicine logo
  • University College London logo
  • ORCID logo

View CASRAI adoption →