05 · Getting Models to Act

Zero / One / Few-shot

Examples given inside the prompt

How many examples you provide. Zero-shot = just ask. One-shot = one example first. Few-shot = several. More examples usually improve accuracy on tricky or unusual tasks.

Concrete example

Show three examples of the exact output format you want and the model reliably matches it on the fourth.