To use examples in prompts, paste in one to three pieces of writing you already like, mark clearly where each starts and ends, and say what to copy and what to ignore. One example fixes the format. Two or three show the model what stays the same and what is allowed to change.
Describing a style is hard. Try explaining "friendly but not chatty, short, no apology unless we caused it" to a new colleague and you'll end up handing over an old notice and saying "like this". Models respond to the same shortcut. A good example carries tone, length, layout and vocabulary in one go, and saves you a paragraph of adjectives the model would have read loosely anyway.
What follows takes a single task and runs it four times, with no example, then one, two and three, so you can see what each addition buys.
The task: a maintenance notice
Our task is small and ordinary. Shona coordinates facilities for a university in Swansea. Most weeks she writes a notice telling staff that something will be out of action: a lift, a car park, the hot water in one building. She has written dozens. They follow an unwritten house pattern, and she wants a draft she barely needs to touch.
This week's facts: the lift in the Taliesin Building is out of service on Tuesday from eight until noon for its annual inspection. The stairs and the ramp at the east entrance stay open.
Step one: no example
Starting with no example shows you what the model does by default. Shona types:
Write a short notice to staff. The lift in the Taliesin Building will be out of service on Tuesday from 8am to 12 noon for its annual inspection. Stairs and the east entrance ramp remain open.
What comes back is usually accurate and usually wrong in manner. Expect a subject line she didn't ask for, an opening that hopes everyone is well, an apology for the inconvenience, and a sign-off inviting questions. Nothing in it is false. It just isn't hers. This is the model's average idea of a workplace notice, and no amount of "make it more concise" quite gets it to her pattern.
Step two: one example
Adding one example fixes the format at once. Shona pastes last month's notice and marks it off:
Write a notice to staff in the same format as the example. Copy the layout, length and tone. Do not copy the subject matter.
>
EXAMPLE
Car park B: closed Thursday
Car park B is closed all day Thursday 14th for resurfacing. Car parks A and C are open as usual. Blue badge bays have moved to the front of car park A for the day.
END OF EXAMPLE
>
New facts: the lift in the Taliesin Building is out of service Tuesday, 8am to 12 noon, for its annual inspection. Stairs and the east entrance ramp remain open.
The reply now has a plain heading, three sentences and no pleasantries. It may also contain something odd, such as a line about blue badge bays, or "all day" where she said the morning. With only one example, the model can't tell which features are the pattern and which were particular to car parks. Sometimes it guesses wrong.
The labels matter. Words such as EXAMPLE and END OF EXAMPLE are delimiters: they show where the sample stops and the instruction resumes. Without them a model can blur the two.
Step three: two examples
Two examples let the model compare, and comparison is where the pattern appears. Shona adds a second notice on a different subject: a fire alarm test in the library, lasting ten minutes, with nothing staff need to do.
Whatever the two share now reads as the rule: a heading that names the thing and the day, the fact first, what still works second, any action last. Whatever differs reads as free to vary: the subject, the duration, whether there's an action at all. The stray blue badge line stops appearing, because the second example has no equivalent.
Choose the second example to be unlike the first in the ways you want flexibility. Two car park notices would teach the model that every notice is about car parks.
Step four: three examples
A third example earns its place when there's an edge case the first two don't cover. For Shona that's the notice with bad news in it: the hot water that will be off for two days, with a line saying where the nearest working showers are. It shows the model how the pattern stretches when the disruption is real. The format holds, one sentence of practical help is added, and there's still no grovelling.
Past three, the returns thin out. If the output still misses, look at the examples. Do they contradict each other? Is one of them not actually good?
What each step changes
| Examples | What the model picks up | What tends to go wrong |
|---|
| None | Only your instruction, plus its own default style | Generic tone, extra sections, padding |
| One | Layout, length and voice | Copies details that belonged only to that example |
| Two | What stays fixed and what may change | Narrow if both examples are too alike |
| Three | How the pattern handles an awkward case | Longer prompt; a weak third example pulls quality down |
How to use examples in prompts without being copied
Using examples in prompts well comes down to five habits, and each one answers a mistake from the walkthrough.
- Say what to copy. "Copy the layout, length and tone. Do not copy the subject matter." Without this, the model decides for itself.
- Mark the edges. Label each example and its end. Keep new facts in a separate, labelled block.
- Vary what you want varied. Different subjects, different lengths, one awkward case.
- Use only examples you'd be happy to get back. A typo or a habit you dislike in the sample will be reproduced faithfully.
- Check the facts, not just the style. A draft that sounds exactly like you is easier to wave through. Read the day, the time and the building name against what you typed.
Examples aren't always the right tool. For a one-off question, or a task where you want a fresh approach, they only narrow the answer. And they're not a substitute for background: the model still needs to know who the notice is for. Our guides on how to give AI context and how to write a good AI prompt cover that side.
Turning a working prompt into a template
Once three examples reliably produce the right notice, the prompt is worth keeping. Replace this week's facts with a gap, and you have a template: instruction, examples, a slot for new facts. Next week takes thirty seconds. There's more on that in prompt templates for recurring tasks.
Review the examples now and then. If your house style shifts and the samples don't, the template quietly keeps the old style alive.
Where Teach me AI teaches it
Teach me AI covers prompting with examples in the Practitioner level, in the module called Prompting well. Each lesson has a fixed, checked core. The worked example and the practice task around it are written for your kind of work, so a facilities coordinator practises on notices and a recruiter on job adverts. If the task doesn't suit you, "This doesn't fit me" asks for another.
For members on Pro, the Lab is where the technique gets tested. You write your prompt for the lesson's task, examples and all, and an AI coach comments on it: whether the examples are marked off, whether the instruction says what to copy. Lab work is deleted after 24 hours, so copy out anything you want. A prompt worth keeping goes in your toolkit, where you can copy, edit or delete it later.
You can see how a lesson reads before deciding anything. There's a complete sample lesson that needs no account, and the glossary has plain definitions of few-shot and zero-shot prompting.
Before you next ask an assistant to "write it in our style", try this instead:
- Find two past pieces you were happy with, on different subjects.
- Remove anything private.
- Label them, and say what to copy.
- Add this week's facts in their own block.
- Check the facts in what comes back.