Skip to content
← All lessons

Lesson 06 · Advanced · 4 min

Few-shot prompting with a single example

A single input→output example is the cheapest reliable accuracy boost.

Why

Examples remove ambiguity about tone, format, and edge handling far more effectively than description alone.

How

Add an EXAMPLE block with a representative Input and the exact Output you'd want. One strong example usually beats three weak ones.

Try it

Add a concrete input→output example to this prompt. Aim for 90+.

86structure

Target: 90. Keep working the prompt. The score moves as you type.

  • Context: Front-load all context the model needs: inputs, audience, goal, and constraints, so it can answer in one shot.
  • Examples (few-shot): Add one input→output example to anchor tone, format, and edge handling.

Now put it to work: score a prompt you actually use on the desk and see whether this part is one it was missing. This is one of seven parts. To see all of them already in place, the templates are the finished shape; to practise on something new, the daily drill posts one brief a day.