Prompting · Lesson 2
Context and examples (few-shot)
Showing is often better than telling. If you include one to three examples of what you want, the AI copies the pattern. This is called few-shot prompting.
Turn product features into benefits. Feature: 5000 mAh battery → Benefit: Lasts all day, even with heavy use. Feature: 50 MP camera → Benefit: Sharp photos you can zoom into. Feature: IP68 rating →
Two examples were enough for the AI to match the length and style.
Tip: Context beats cleverness: paste the actual email, policy or data you are asking about.
Exercises
- What is "few-shot prompting"?
- Write a few-shot prompt that teaches the AI to convert casual sentences into formal ones. Include at least two examples, then a new sentence to convert.