Decision tree
RAG, fine-tune, prompt — or hybrid.
The single most common LLM-product mistake is reaching for fine-tuning when the problem is knowledge, or for RAG when the problem is behaviour. The two problems look similar; the right shape is opposite. This tree walks the fork.
If JavaScript is disabled — the questions in this tree
- Does your use-case depend primarily on knowledge or on behaviour?
- How often does the knowledge change?
- How many examples of the desired behaviour can you reliably curate?
- Is the behaviour requirement strict (e.g. always-JSON, always-cite, always-escalate-on-X)?
Re-enable JavaScript to step through interactively. Or jump straight to the related artefacts: diagnostics · reference architectures · writing.