In this lesson
Using fine-tuning to teach a fact is like driving a screw with a hammer.
When the AI gets something wrong, everyone says "it needs training". That is almost always wrong. You will learn to choose the right tool.
- Tell instructions, RAG and fine-tuning apart
- Use one question to choose
- Avoid the expensive path when you do not need it
Three tools, three problems
Think of hiring a new person.
- A fixed instruction is the note you hand over on the first day: "here we speak politely, in English, with no slang". It changes the behavior.
- RAG is giving them the manual and the price list to look things up. It changes what they know at that moment.
- Fine-tuning is sending them on a long course. It changes their way of doing things, but it is expensive and slow.
The decision tree
| The problem is... | Use |
|---|---|
| Language, tone, length, format, refusals | Fixed instruction |
| Company facts, which change | RAG |
| A style or format that is hard to explain in words | Fine-tuning |
Always start with the instruction. It is free, and the very next answer already changes. If the knowledge runs past one page, move to RAG. Only think about fine-tuning after the other two have been tried and measured with the battery from lesson 6.
Three cases
Case 1. The AI answers in another language and talks too much. Instruction: "answer in English, in up to five lines".
Case 2. The AI does not know the store's return policy. It is a fact that changes. RAG with the policy document.
Case 3. A clinic wants its summaries to always follow the same template, with fixed fields, and the instruction did not hold. Here, after testing, fine-tuning may pay off.
The cost of each path
An instruction costs minutes. RAG costs days to prepare the documents and keep them up. Fine-tuning costs weeks: well-made examples, a powerful machine, tests and a model that has to be redone every time the base model is replaced. Before asking for fine-tuning, ask: has the problem already been tried with an instruction and with RAG? Was it measured? If the answer is no, go back a step.
A rule to keep
Before any investment, run the battery of tests from lesson 6 with the current instruction and write down the score. Make the change. Run it again. If the score did not go up, the change was not worth the effort, however modern it may be. This discipline of measuring before and after is what separates those who improve the AI from those who only spend money on it.
And remember: each tool can be combined with the others. A good instruction plus RAG with clean documents solves most cases in a small company. Fine-tuning goes to the back of the queue, for when there is money left over and a problem left over.
A warning sign
Be wary of anyone whose first idea is "let's train the model on our data". It may be enthusiasm, or it may be a sales pitch. Ask what exact problem it solves, what has already been tried and how the result will be measured. If the person cannot answer, the cheap path has not been exhausted. And the cheap path, most of the time, is just writing a better instruction and organizing the documents.
What the pros know
It seems logical that teaching the model a fact through fine-tuning would be the best way for it to "know" it. A 2023 study compared the two paths and concluded that RAG outperformed fine-tuning, both for knowledge the model had already seen and for entirely new knowledge. The authors also saw that the model struggles to learn new facts through fine-tuning. That is why a professional starts with RAG when the problem is a fact.
Practice · 10 min
- List three real problems with your AI.
- For each one, use the table and choose instruction, RAG or fine-tuning.
- Write down the estimated cost and how you will measure whether it worked.
Summary
- An instruction changes the behavior. RAG changes what it knows. Fine-tuning changes its way of answering.
- Start with the instruction, then RAG, and only then think about fine-tuning.
- A new fact calls for RAG, not training.
- Measure every change with the battery of tests.
Sources
Read on October 30, 2026.
- Ovadia et al. Fine-Tuning or Retrieval?: RAG outperforms fine-tuning for injecting knowledge (2023).
Lesson quiz
Three situations to apply what you learned.
Isaque Victor free courses