Your team has a capable large language model, and it still quotes last year's policy, misses product details, or ignores the way your industry talks. Two techniques close that gap: retrieval-augmented generation (RAG) and fine-tuning. They solve different problems, and choosing the wrong one can cost months of rework. This guide explains how each works, where each fits, and how to decide between them.
What RAG Actually Does
RAG leaves the model's weights alone. Instead, it fetches relevant documents at question time and places them in the prompt, so the model answers from fresh, specific context rather than from memory alone.
The idea was formalised in a 2020 NeurIPS paper from Facebook AI Research, Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks . The authors reported that RAG models produced more specific, diverse and factual language than a parametric-only baseline.…