I was happy with the customer support today - satisfied
The product is horrible! - very unsatisfied
This is one of the best products I have ever used - very satisfied
This is such a great product! -
Output:
Very Satisfied
The examples define both the format and context the model needs. This leads to more consistent, accurate responses.
When to use few-shot prompting:
- Complex or nuanced tasks where format matters
- When you need consistent output structure
- 3-4 examples typically work best