Module 3 · Your data

Instructions, RAG or fine-tuning: when each one solves it

Lesson 9 of 15 9 min lesson Updated on October 30, 2026
Progress in the course60%

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.

Three tools, three problems

Think of hiring a new person.

The decision tree

The problem is...Use
Language, tone, length, format, refusalsFixed instruction
Company facts, which changeRAG
A style or format that is hard to explain in wordsFine-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

  1. List three real problems with your AI.
  2. For each one, use the table and choose instruction, RAG or fine-tuning.
  3. Write down the estimated cost and how you will measure whether it worked.

Summary

Sources

Read on October 30, 2026.

  1. Ovadia et al. Fine-Tuning or Retrieval?: RAG outperforms fine-tuning for injecting knowledge (2023).

Lesson quiz

Three situations to apply what you learned.

Lesson 9 of 15

Before moving on to the next lesson

Put what you saw into practice. The boxes stay checked in this browser, so you can come back later.

Have a question about this lesson? The IV Help team answers personally on WhatsApp.

Ask on WhatsApp