Ploba logo

Find the right AI tool for the job: apps, agents, APIs, MCP servers and datasets, explained plainly.

Get the AI Digest

Discover

  • Explore
  • Top Charts
  • Categories
  • Agents
  • MCP servers
  • Developer tools

Learn & community

  • Learn AI
  • AI Glossary
  • Blog
  • Hackathons
  • People
  • AI Digest

For makers

  • List your tool
  • Docs
  • Claim a listing
  • Advertise
  • Write for us

Company

  • About
  • Careers
  • Changelog
  • Trust
  • Security
  • Contact

© 2026 Ploba. All rights reserved.

  • Privacy
  • Terms
  • Cookies
  • Advertising
  • All policies
llms.txt
AI glossary
Development

Retrieval-Augmented Generation

Also called RAG

A technique that grounds AI responses in facts by retrieving relevant information from external sources before generating text.

What is RAG?

Retrieval-Augmented Generation (RAG) is an AI architecture that improves the accuracy of language models by grounding them in external sources of knowledge. Instead of relying solely on the data the model memorized during training, a RAG system retrieves relevant facts from a trusted database and injects them into the prompt before the AI answers.

How does it work?

  1. Retrieve: When a user asks a question, the system searches an external source (like a vector database, a company knowledge base, or a search engine) for relevant documents.
  2. Augment: The system takes those retrieved documents and pastes them into the user's prompt as context.
  3. Generate: The AI reads the augmented prompt containing the hard facts and generates a highly accurate answer.

What is it commonly confused with?

Do not imply that RAG always searches the public internet. While web-search is one form of RAG, enterprise RAG systems usually retrieve data from private, secure company document collections or internal wikis.

Why does it matter?

RAG solves the two biggest problems with Large Language Models: hallucinations and outdated information. By forcing the AI to cite facts from a trusted source, it can answer highly specific, private, or real-time questions accurately without needing an expensive fine-tuning process.

Category
Development
Last reviewed
Sep 21, 2026
Also called
RAG

Sources

  • AWS: What is RAG?

Related terms

  • DevelopmentVector DatabaseA specialized database designed to store and rapidly search high-dimensional embeddings.
  • DevelopmentEmbeddingA mathematical representation of data designed so that related meanings can be compared computationally.
  • Generative AIHallucinationAn AI output that appears plausible but is incorrect, unsupported, or entirely invented.
  • DevelopmentChunkingSplitting documents into smaller passages before indexing them, so a search system can find and return just the relevant part.
  • DevelopmentRerankingA second search step that reorders a shortlist of results by how well each one actually answers the question, so the best come first.
  • Generative AIGroundingTying an AI model's answer to specific, checkable sources, such as search results or your documents, instead of its memory alone.

Read more on Learn

All articles
  • Mindmap of informationAI Concepts · Sep 24, 2026What Is RAG? Retrieval-Augmented Generation ExplainedLearn how Retrieval-Augmented Generation (RAG) connects AI models to your own documents, so answers are current, grounded and can cite where they came from.
  • Close up of a futuristic computer server rackComparisons · Aug 6, 2026RAG vs Fine-Tuning vs Prompt EngineeringPrompt engineering, RAG or fine-tuning? Learn what each one changes, what it costs, and the order to try them when your AI gives poor answers.