DigitalRoks Icon
Promptingbeginner 3 min read

Show two examples instead of explaining

What is few-shot prompting?

One good example is worth a paragraph of instructions. Two examples usually beat both.

The short answer

Few-shot prompting means giving the model a small number of input-and-output examples of the result you want, so it copies the pattern rather than guessing at your description of it.

The analogy

Teaching by pointing at the finished thing

Try explaining a house style in words: "professional but warm, concise but not terse, no jargon, friendly close." Then show two real emails you are happy with. The examples carry tone, rhythm, vocabulary, and formatting in a way adjectives never do. Humans learn style by imitation, and so does a model trained on imitation.

How it actually works
01

Three parts per example

The input, the output you want, and ideally one line on why it works. Keep format identical across examples — if one output is a bulleted list and another is a paragraph, you have taught the model that format is random.

02

Pick examples that are representative, not impressive

Use the middle of your range, not the outlier you are proudest of. A model taught on your single best email will produce copy that sounds like a highlight reel and fits none of your actual situations.

03

Include one near-miss

Show an output you rejected and say why. Negative examples are unusually effective at killing the specific habit you dislike — the stock phrase, the em-dash sandwich, the "in today's fast-paced world" opener.

Where it bites

“Examples take up too much of the prompt.”

Two short examples often cost less than a failed attempt plus a correction. They are the highest information-per-token content you can put in a prompt.

Try it now
12 minutes

Build a three-example brand prompt

  1. 1Pick one recurring writing task: a follow-up email, a review request, an estimate cover note.
  2. 2Choose two past versions you were happy with and one you were not.
  3. 3Paste all three with labels: GOOD, GOOD, BAD — and one sentence on why the bad one failed.
  4. 4Ask for a new version for a real customer. Then ask yourself whether you would send it after one small edit.
Where to go next

If the writing task is email, keeping the examples next to your templates is what stops the voice drifting between campaigns.

Try Systeme.io Free →

Affiliate link. If you sign up through it, DigitalRoks may earn a commission at no extra cost to you. Recommendations are written the same way either way.

Common questions
How many examples do I need?

Two or three for style. Ten or more if you are teaching a strict output format a machine will parse.

Do examples work for images and code too?

Yes, and often better. A reference image or a working function communicates structure far more efficiently than a description of structure.

What if I do not have examples yet?

Generate ten drafts, keep the two you like, discard the rest. You are building the example set, and that set is the real asset.

Keep going

Where this connects

Where this concept goes next.

You know the idea now. The next step is either wiring it up yourself (MCPHubz) or handing the build to someone (GoZealio).