Adaptationcore
Prompting vs RAG vs fine-tuning
Prompting changes instructions, RAG changes knowledge, fine-tuning changes behaviour.
What it is and why it exists
Start with prompting (cheap, instant). Add RAG when the model lacks knowledge that changes or must be cited. Fine-tune when you need consistent format, style or a narrow skill at lower cost or latency than a big model with a long prompt — not to inject facts that change. They combine: a fine-tuned small model can sit on top of RAG.
Quick prototype
Prompt a strong model.
In production, at scale
Decide from evals: if prompting + RAG passes, stop. Fine-tune when you have hundreds-to-thousands of good examples, a stable task, and a cost or latency reason; re-evaluate after every base-model upgrade.
Vendors and tools
| OpenAI fine-tuning | SFT, preference and reinforcement fine-tuning |
|---|---|
| Together / Fireworks / Hugging Face | Fine-tuning open models |
| Unsloth / Axolotl / TRL | Fine-tuning libraries |
On AWS: Bedrock model customisation (fine-tuning, continued pre-training, distillation) on supported models; SageMaker for full control.
How it fails
- Fine-tuning to add product facts that change next month
- Fine-tuning before trying a better prompt
What the interviewer asks next
A customer wants the model to “know our 10,000 internal docs”. Fine-tune?
No — RAG. Facts change, need citations and permissions; fine-tuning bakes in a snapshot, hallucinates details and can’t be filtered per user.