RAG vs fine-tuning: how do you decide?
IntermediateConceptLLM fundamentals
Answer
Use RAG when the model needs up-to-date or private knowledge, such as runbooks, tickets or docs, because you can update the index without retraining and you can cite sources. Use fine-tuning when you need a behaviour change the prompt cannot achieve reliably. In practice, try prompting first, then RAG, and fine-tune last.