Walk through the main prompting techniques and when to use each.
Quick-fire answer from the Awesome Generative AI Guide (MIT)
Type it the way you would explain it to an interviewer. A few sentences is enough; you can't break anything.
Model answer: the part to lead with
Zero-shot (just the instruction) is the default and often enough for capable models. Few-shot adds a handful of input-output examples to pin down format or a tricky pattern the instruction alone does not convey. Chain-of-thought asks the model to reason step by step, which helps on multi-step problems, though modern reasoning models do this internally so you should not force it on them. Structured techniques (output schemas, role framing, decomposition into sub-prompts) improve reliability. Choose the least complex technique that clears your quality bar, and validate the choice with an eval.
Full worked answer
Zero-shot (just the instruction) is the default and often enough for capable models. Few-shot adds a handful of input-output examples to pin down format or a tricky pattern the instruction alone does not convey. Chain-of-thought asks the model to reason step by step, which helps on multi-step problems, though modern reasoning models do this internally so you should not force it on them. Structured techniques (output schemas, role framing, decomposition into sub-prompts) improve reliability. Choose the least complex technique that clears your quality bar, and validate the choice with an eval.
Learn more: Prompting Guide
What a good answer covers
- Zero-shot (just the instruction) is the default and often enough for capable models
- Few-shot adds a handful of input-output examples to pin down format or a tricky pattern the instruction…
- Chain-of-thought asks the model to reason step by step, which helps on multi-step problems, though…
- Structured techniques (output schemas, role framing, decomposition into sub-prompts) improve reliability
- Choose the least complex technique that clears your quality bar, and validate the choice with an eval
Key terms: Learn more
In the glossary: Zero-shot · Few-shot · Reasoning model
Quick-fire answer from the Awesome Generative AI Guide (MIT) · answer text last updated 6 November 2026 · scoring and review schedule by LLM Prep