AI Glossary

Retrieval-Augmented Generation

Retrieval-augmented generation (RAG) retrieves relevant documents and conditions a generator on that evidence to improve factual grounding.

Definition

Retrieval-augmented generation (RAG) retrieves relevant documents and conditions a generator on that evidence to improve factual grounding.

Plain English explanation

Look up useful docs first, then ask the model to answer using them.

Technical explanation

RAG pipelines retrieve candidate passages (lexical, dense, or hybrid), optionally rerank them, and condition a generator on the selected evidence. Quality depends on chunking, indexing, permissions, and citation UX—not only the LLM.

Why it matters

RAG is the dominant enterprise pattern for grounding assistants in private knowledge without always fine-tuning.

Real-world applications

  • Internal knowledge assistants
  • Customer support with knowledge bases
  • Research Q&A over document corpora

Benefits

  • Improves factual grounding when retrieval is good
  • Updates knowledge by reindexing docs
  • Supports citations for EEAT

Limitations

  • Garbage retrieval produces garbage answers
  • Access control must be enforced at retrieve time
  • Does not eliminate all hallucinations

Common misconceptions

  • RAG is not a single product—it is an architecture
  • Adding a vector DB alone is not a complete RAG system

Related industries

Related companies

Related founder profiles

Arvind Jain

Founder & CEO

Glean

  • Country United States
  • Industry AI in Enterprise Software

Founder and CEO of Glean, the enterprise AI search and knowledge platform, after previously co-founding Rubrik and spending…

Shay Banon

Founder and CTO

Elastic

  • Country United States
  • Industry AI in Cybersecurity

Founder and CTO of Elastic, the Search AI platform spanning observability and security relied on by more than…

Related products

Enterprise AI platform

Glean Api

Glean

Glean connects to an organization's collaboration, knowledge, and business applications and indexes that content while respecting each user's existing access permissions. On…

  • Company Glean
  • Industry AI in Enterprise Software
  • Status Active
Security AI product

Elastic Search AI Platform

Elastic

Elastic Security, a SIEM and extended detection and response (XDR) product built on the Elastic Search AI Platform, combining the Elasticsearch, Kibana,…

  • Company Elastic
  • Industry AI in Cybersecurity
  • Status Active
Enterprise AI platform

Glean — Enterprise AI platform

Glean

Glean connects to an organization's collaboration, knowledge, and business applications and indexes that content while respecting each user's existing access permissions. On…

  • Company Glean
  • Industry AI in Enterprise Software
  • Status Active
Security AI product

Elastic Security

Elastic

Elastic Security, a SIEM and extended detection and response (XDR) product built on the Elastic Search AI Platform, combining the Elasticsearch, Kibana,…

  • Company Elastic
  • Industry AI in Cybersecurity
  • Status Active

FAQ

When is fine-tuning better than RAG?

Fine-tuning can help style, format, or specialized behavior; RAG is usually better for frequently changing factual corpora. Many systems combine both.

Last reviewed

Sources

  • Lewis et al., 2020

Correction request

If a technology assignment or hub description is inaccurate, submit a correction via the Corrections Policy.

All technologies → · AI Models → · APIs & SDKs → · Integrations → · Compliance → · Browse all companies → · Explore industries → · Compare →