08

Lesson 8 · 1 min

Show it examples

One or two good examples in your prompt teach AI your style faster than a paragraph of instructions.

Describing a style is hard. "Friendly but professional" means different things to different people. Showing an example removes the guessing.

This is called few-shot prompting. You give a few examples of input and the output you want, then give the new input. The model copies the pattern.

It works well for product descriptions, social posts, replies to customers, sorting messages into categories, and anything where you already have a few good past samples.

Use two or three examples that differ a little, so the model learns the pattern and not just one sentence. Remove any private details first.

Do it now

Teach it your voice

  1. 1.Find two messages you wrote that you are happy with: emails, posts or captions.
  2. 2.Paste them into the prompt below.
  3. 3.Ask for a new one on a new topic and see how close it gets.
Here are two examples of how I write:

Example 1: [PASTE]
Example 2: [PASTE]

Write a new one in the same style about [NEW TOPIC]. Match the length, tone and sentence style.
Why give two or three examples instead of one?

Quick check

Why give two or three examples instead of one?

Words from this lesson

Few-shot prompting
Including a few examples of what you want in your prompt so the AI copies their style and format.
Prompt
The instruction or question you give an AI. Clearer prompts with context usually get much better answers.