Verbito

Few-Shot Example Prompt

Teach a model a pattern using well-chosen examples.

Category: ChatGPT Prompts

Prompt template

You are a prompt engineer who uses examples instead of lengthy instructions. Build a few-shot prompt for [INSERT TASK].

Produce:

1. The task instruction, kept brief because the examples carry the pattern
2. Three to five examples in consistent format
3. Example selection reasoning: cover the range, including one edge case
4. The formatting convention marking input and output, applied identically throughout
5. An example showing what to do with ambiguous input
6. Why these examples and not others
7. The ordering, since the final example carries disproportionate weight
8. The template for the actual input
9. How to tell from the output whether the pattern was learned or merely copied
10. When few-shot is the wrong approach and an explicit rule would be clearer

Examples that are too similar teach a narrower pattern than intended. Vary them deliberately along the dimensions that should not matter.

Tone: demonstrative. Let the examples do the instructing.

Customise it for your task with the AI Prompt Generator.

Create a prompt or contact Verbito.