Technique Updated 2026-04

RAG (Retrieval-Augmented Generation)

Retrieval-Augmented Generation
Definition

RAG is a technique that connects an LLM to external data sources to generate more accurate and up-to-date answers.

Frequently Asked Questions

What's the difference between RAG and fine-tuning?
Fine-tuning modifies the model itself by retraining it on your data. RAG leaves the model intact and feeds it relevant information at query time. RAG is simpler, cheaper and keeps data up-to-date.
Which tools use RAG?
Perplexity (web search + AI), NotebookLM (document analysis), and most enterprise chatbots connected to an internal knowledge base.