Retrieval-augmented generation fetches relevant information from an external knowledge base at query time and gives it to the LLM as context, so answers are grounded in your data.
It solves the knowledge problem: private, large or frequently changing information, up-to-date facts, source citations, and per-user access control, none of which fine-tuning handles well because facts baked into weights are hard to update, audit or restrict.
Fine-tuning changes behavior (style, format, skills); RAG changes what the model knows at answer time. They combine well.
Updating a RAG system means updating documents in an index, not retraining a model.
Loading…