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

Chief Executive Officer & Founder

Glean

  • Country United States
  • Industry AI in Enterprise Software

Enterprise search is not just about finding keywords—it is about understanding people, projects, context, and permissions in real…

Shay Banon

Founder and CTO

Elastic

  • Country United States
  • Industry AI in Cybersecurity

Advancing technology at Elastic requires rigorous software engineering, disciplined execution, and solving real operational bottlenecks for enterprise users.

Related products

Enterprise AI platform

Glean Api

Glean

Explore Glean Api by Glean. Verified AI product intelligence covering core capabilities, Enterprise Software use cases, technical architecture, and FAQs.

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

Elastic Search AI Platform

Elastic

Explore Elastic Search AI Platform by Elastic. Verified AI product intelligence covering core capabilities, Cybersecurity use cases, technical architecture, ...

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

Glean — Enterprise AI platform

Glean

Explore Glean — Enterprise AI platform by Glean. Verified AI product intelligence covering core capabilities, Enterprise Software use cases, technical archit...

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

Elastic Security

Elastic

Explore Elastic Security by Elastic. Verified AI product intelligence covering core capabilities, Cybersecurity use cases, technical architecture, and FAQs.

  • 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.

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