Getting Real Work out of a ModelLesson 20 of 72

Module 3 · Teaching by example

Zero, one, or five: how many examples

In this lesson

  • 8 min read
  • 6 reading sections
  • Knowledge check
  • Lesson 2 of 9 in this chapter

This chapter’s goalBuild a small labelled example set that transmits a rule prose cannot state, identify the unintended patterns your examples teach, and demonstrate by test whether adding them improved the output at all.

This chapter’s media

The film explains chapter ideas. The audiobook narrates the complete teaching text.

FormatEnglishहिंदी
Chapter filmWatch3:01Not available
Full audiobookNot availableNot available

A little at a time

Explore an idea, try it, then check what stays.

Step 1 of 8Free · no account needed
Lesson steps

The three settings, and what each actually does

Zero-shot is a prompt with no examples. Just the instruction. This is what you use most of the time, and on current models it is far stronger than most prompting advice implies, because instruction tuning trained exactly this behaviour.

One-shot is a single demonstration. Its main job is not teaching a rule (one example cannot establish a boundary) but anchoring a format. Show one filled-in entry and you have communicated the layout, the level of detail, the punctuation, whether the field is a sentence or a fragment. Prose descriptions of layout are unreliable in a way that one filled example is not.

Few-shot is two to five. Now you can carry a boundary: the awkward case, the exception, the pair that shows where the line falls. This is where examples do the work prose cannot.

Beyond five, the returns fall away quickly for most everyday tasks, and the costs do not.

Your place and first choices stay on this browser. Classroom credit is recorded separately.

Every lesson here is open. Your progress is recorded once you pass the AI, Actually Explained exam.

Stuck on something?Ask Asha, your AI tutor

How to cite: Addaly (2026) ‘Zero, one, or five: how many examples’, in Getting Real Work out of a Model. Edited by M. Mun. Addaly. Available at: https://addaly.com/learn/prompting/zero-one-and-few (Accessed: 29 November 2026).