All lessons in AI Engineering: From Foundation Models to Evaluated Applications
Choosing Prompting, Retrieval, or Fine-Tuning
Diagnose failure types and select an adaptation strategy with a controlled comparison.
60 minutes · Members lesson · preview
What you will learn
- Diagnose whether an application failure comes from missing knowledge, poor behavior, or broken execution.
- Choose a prompt, retrieval, or fine-tuning intervention and design a controlled comparison.
- Calculate adaptation costs and reject improvements that fail regression gates.
Your support assistant finds the correct order but gives an answer in the wrong format. On another request, it follows the format perfectly and quotes an obsolete return policy. Both outputs are wrong, yet they point to different interventions. Training the model again would be an expensive first reaction if the actual problem were a stale document index.
You already have a bounded workflow, retrieval, tools, and evaluation criteria. Now you will decide what to change when those pieces do not achieve the required behavior. The decision begins with evidence about failures. It ends with a comparison against the strongest practical baseline, including the cost of keeping the solution working.
The examples here use invented results and prices. They teach a decision method rather than predict improvements from any model or provider. This core lesson does not require paid training; the separate adaptation practice can compare prompting and retrieval before an optional fine-tuning experiment.