Course Advanced Lesson 13 of 24 · 5 min
Show, don't tell: using examples
Describing the style you want is hard. Showing an example is easy, and AI copies patterns very well. This is called few-shot prompting.
Open the interactive lesson and quizGive a pattern to follow
Turn product notes into short descriptions in the same style as the example. Example Notes: cotton t-shirt, blue, unisex Description: Soft blue cotton tee that goes with everything. Fits everyone. Now do this one Notes: leather wallet, brown, 6 card slots
Tips for good examples
- One to three examples is usually enough
- Make them different from each other so the AI learns the pattern, not the topic
- Label them clearly: Example, Input, Output
- Your examples set the quality bar. Sloppy examples give sloppy output.
Use your own writing
Paste a paragraph you wrote and say "Write the next email in this style." It's the fastest way to make AI sound like you instead of like a robot.
See the difference
Simulated AI replies, written to show typical behaviour.
Weak prompt
Write a description for a brown leather wallet.
Introducing our exquisite genuine leather wallet, meticulously crafted for the modern individual who values timeless elegance and uncompromising quality...
Long, flowery and nothing like the rest of your shop.
Strong prompt
(The example prompt above, with the t-shirt example.)
Description: Classic brown leather wallet with room for six cards. Slim enough for any pocket.
Same length, same voice as your example.