When do you use prompting, retrieval, fine-tuning or an agentic design? Give examples.
Answer
Model answer, written in a candidate's voice
In short
- Start with prompting and a small eval set; add complexity only with evidence.
- Use retrieval/RAG for fresh, grounded, or source-backed answers.
- Fine-tune for narrow, stable format, style, latency, or cost needs, not for facts.
- Use agents only for multi-step tool use with acceptable risk and clear gates.
- Escalate on failure evidence and count maintenance cost before choosing heavier options.
In full
I start with prompting and a small eval set, because it is fastest to try and easiest to change. If the model needs current or company-specific facts, I add retrieval/RAG with citations rather than trusting memory, for example answering from a product manual or policy docs. I fine-tune only for narrow, stable behaviour such as a strict output format, tone, or a high-volume classification task where it improves latency or cost, and I keep facts in retrieval. I use an agent only when the job is genuinely multi-step and tool-dependent, like checking inventory, drafting a refund, and confirming with a human, and only when errors are reversible or gated. I escalate when failures cluster around freshness, grounding, format, or tool reliability, and I count maintenance cost—prompts, indexes, training data, evals, and agent permissions—before choosing the heavier option.
What a strong answer covers
- Start with the simplest option
- RAG for fresh or grounded knowledge
- Fine-tuning for format, style, latency or cost on narrow tasks
- Agents only when multi-step tool use is needed and the risk is acceptable
- Escalate on evidence
- Count maintenance cost
Common mistakes
- Fine-tuning to add knowledge by default
- Agents for single-step tasks