Academy / Better Prompts / Lesson 3
Lesson 3: Show, don't just tell: using examples
About 15 minutes. You'll use examples to show the AI exactly the style and layout you want.
1. Why examples work
Describing a style is hard; showing it is easy. Researchers behind GPT-3 found in 2020 that language models can pick up a new task from just a few examples in the prompt, which is known as "few-shot" prompting. Today's guides from Google and Anthropic still recommend examples as one of the most reliable ways to control format and tone. Anthropic suggests 3–5 varied, relevant examples for the best effect.
2. How to give examples
- Label them so the AI can tell examples from instructions ("Example 1:", "Example 2:").
- Keep them consistent. Google's guide notes that the AI copies patterns, so keep the layout the same in every example.
- Make them varied in content, so it doesn't just copy one example's details.
3. Example in action
YouI sell handmade candles at a Saturday market in Brighton. Write 3 more product labels in the same style as these:
Example 1: Sea Salt & Sage. Fresh as a walk on the pier. 40-hour burn. £12.
Example 2: Winter Spice. Cinnamon, orange and a crackling fire. 40-hour burn. £12.
New scents: Lavender & Honey; Fresh Linen; Black Cherry.
4. Practice workspace
Your task
Scenario: You run a small dog-walking business in Stockport and post a short daily update to clients. You want the AI to write updates in your style.
- Write a prompt with the task and 2–3 labelled examples of updates in your style (make them up).
- Give it the facts for today's update: e.g. Bella, Hollins Park, 45 minutes, very muddy, had a great time.
- Click Check my prompt, then try it in a free AI.
- Paste the reply below. Does it match your examples' style and length?
1 Write your prompt
This check uses simple word-matching in your browser. It is not AI marking; it just looks for the key parts.
- Task Say what to write: “Write today's update in the same style…”.
- Labelled examples Include at least two, labelled “Example 1:”, “Example 2:”.
- Today's facts Give the dog's name, place, time and what happened.
- Style instruction (bonus) Optional: “Keep the same length and tone as the examples.”
2 Try it in a free AI
Each button copies your prompt to the clipboard and opens the assistant in a new tab. If the prompt isn't filled in for you, paste it in.
3 Paste the AI's reply and review it
5. Quick quiz
Q1. What is “few-shot” prompting?
- Asking very short questions
- Including a few examples of what you want in the prompt
- Using the AI only a few times
Show answer
Answer: B. Few-shot means a few examples. The GPT-3 paper (2020) showed models learning tasks this way.
Q2. Why label examples “Example 1”, “Example 2”?
- It looks tidy
- It helps the AI tell examples apart from instructions
- It's required
Show answer
Answer: B. Clear labels separate examples from the rest of the prompt.
Q3. Your reply copies a detail from an example that isn't true today. What's the fix?
- Use fewer facts
- Make examples varied, and say “use today's facts only”
- Stop using examples
Show answer
Answer: B. Varied examples plus a clear instruction stop the AI copying details.
Official sources
- Anthropic docs: Use examples (multishot prompting)
- Google AI for Developers: Prompt design strategies (few-shot examples, format)
- Brown et al., 2020: Language models are few-shot learners (research paper)
- OpenAI API docs: Prompt engineering guide
Checked 1 November 2026. Lesson text is written in our own words. Menus, limits and settings change often, so check the current version on each site.