Harsh

// engineering radar · Enterprise AI

RAG

Retrieval-augmented generation grounds model responses in retrieved material.

FounderEngineerSpeaker
Back to the Engineering RadarGlossary definition
Radar sector
Enterprise AI
Research domain
Enterprise AI Architecture
Adoption position
Unassessed

How RAG works

Retrieval-augmented generation grounds model responses in retrieved material. Indexing, retrieval and answer generation are distinct stages with distinct failure modes. A relevant passage can support an answer only if the caller may access it and the final claim is actually supported by the cited source.

Conceptual illustration of rag
RAG · Conceptual illustration

Sources & evidence

  1. [1]

    The original RAG paper combines a parametric generator with retrieved non-parametric information for knowledge-intensive tasks. [1]

    Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks

    Lewis et al. · arXiv · Paper

  2. [2]

    OWASP notes that externally retrieved content can carry indirect prompt injection; retrieval is not an authority boundary. [2]

    LLM01:2025 Prompt Injection

    OWASP · Engineering guidance

References support the specific statements above. Definitions are paraphrased synthesis; scenarios, diagrams, implementation checks and portfolio connections are independent educational examples, not results reported by these sources.

From design to verification

Illustrative workflow

Retrieve permitted sources

Enforce access filtering before returning passages.

Example in practice

An internal policy assistant retrieves permitted passages, reports their versions and declines to answer when no reliable source supports the requested claim.

The failure to design for

A fluent answer may cite an irrelevant, outdated or inaccessible source while appearing well grounded.

Implementation review

  • Enforce access filtering before returning passages.
  • Evaluate retrieval and answer grounding separately.
  • Revalidate freshness and support an abstention path.

Connected engineering concerns

Where it connects

These technologies address adjacent design constraints. Connections express conceptual relationships, not citations or measured dependencies.

Independent implementation perspectives · illustrative, not findings reported by the cited sources.

Engineering implication

Preserve source provenance and revalidate freshness.

Security consideration

Treat retrieved content as untrusted input.

Opportunity

Context, orchestration and observable execution across enterprise systems.

Challenge

Stale retrieval can invalidate a decision even when the answer sounds plausible.

Related papers, articles & research

Portfolio work sharing this technology’s domains. Shared subjects indicate editorial relationships, not citations.

Security Without Humans: Designing Systems that Defend Themselves
Article · 2026Explore

Security Without Humans: Designing Systems that Defend Themselves

Published on RSA Conference official library: AI-driven threats move at machine speed, so security must shift from monitoring to autonomous response. Why self-healing systems that isolate, repair and recover on their own are now essential — and how intent, time and interaction put guardrails on defensive automation.

RSA Conference

Book Harsh