Some things are far easier to show than to describe. Tone, structure and any judgement about what counts as a correct answer all fall into that category, and two worked examples will usually beat a paragraph of instructions trying to specify the same thing.
When do examples help most?
- Specific formats. Where the exact shape matters and describing it is laborious.
- Style matching. Tone is much easier to demonstrate than to name.
- Subjective categories. Where your definition differs from the obvious one.
- Edge cases. Showing how you want ambiguous items handled.
- Repetitive work. Anything you will run many times, where consistency matters.
What does an example-led prompt look like?
Rewrite each support reply in our house style. Two examples of the style:
Before: We are unable to process your request at this time.
After: We cannot do that yet, and here is what we can do instead.
Before: Your query has been escalated to the relevant department.
After: I have passed this to the team who can fix it, and they will reply today.
Now rewrite the messages below the same way.
No adjectives about tone, and the model has everything it needs.
How many examples are worth including?
Between two and five. One is often too few to establish a pattern rather than a one-off. Gains flatten after about five, and beyond that you are paying tokens on every request for very little.
Variety matters more than quantity. Three examples covering different situations teach more than ten near-identical ones.
How can examples make things worse?
By carrying features you did not intend. If all three of your examples happen to be one sentence long, or all concern the same subject, the model will copy that too. It cannot tell which properties were the point.
This is the most common failure with example-led prompts, and the fix is to check what your examples have in common before blaming the output.
Does the order matter?
Slightly. Models are influenced more by later examples than earlier ones, so putting the case most like your typical input last is a small free improvement. Keeping a consistent structure across all of them, with the real request clearly marked as the item to be answered, matters more.
When are examples unnecessary?
For common tasks with an obvious right answer. Summarising, translating, correcting grammar and explaining concepts all work well without them, and adding examples spends tokens for no gain.
They are also unnecessary when you can simply name a format, since a table with specified columns needs no demonstration.
Can you use bad examples deliberately?
Yes, and it works well for judgement tasks. Showing an item you would reject, labelled as wrong and with a short note about why, teaches a boundary that positive examples alone leave vague.
Keep the labelling unmistakable. An unmarked poor example in a list of good ones is simply a poor example, and the model has no way to tell which you intended.
Where should the examples go?
After the instruction and before the real input, clearly separated. Labelling each part explicitly avoids the failure where the model treats your final example as the thing to answer.
Do examples cost anything?
Tokens, on every request. For a one-off in a chat window that is irrelevant. For anything running repeatedly through an API, five long examples attached to every call are a real cost, paid for the same demonstration each time.
That is the point at which fine-tuning starts to look sensible, since it moves the examples into the model rather than into every request. Below that volume, examples in the prompt remain the cheaper and far more flexible option.
What about using your own past work?
The strongest version of this technique. Supplying three or four samples of your own writing produces closer style matching than any description you could write, since style is exactly the thing that resists specification.
What comes back is still an imitation, and it tends towards a slightly smoothed version that removes your rougher edges, which is worth watching for on anything that carries your name.