Few-Shot Prompt Builder
Builds a prompt with three examples that teach the style and format you want.
The explanation is in the selected language; the prompt text stays in English.
Why use it
For people who give a model the same task repeatedly and watch the style drift: examples show it the tone and shape you want.
How to use it
Describe the repeated task in [TASK] and paste two of your own good results as input-output pairs in [EXAMPLES]. The model invents the third and labels it.
Short example
Task: a polite reply to a customer complaint. Examples: two of your real replies with names removed.
What to expect
A ready prompt in a code block with the instruction, three example pairs and a slot for new input, plus a short note on swapping inputs.
Precautions and tips
- Keep examples short and uniform in format or the model gets confused.
- Do not put private or confidential data into examples.
- Compare the invented third example with your own style and fix it.
# Few-Shot Prompt Builder
## Role
You are a prompt designer.
## Context
- The repeated task: [TASK]
- 2 real examples of good output I have: [EXAMPLES]
## Task
Create a reusable prompt that contains the instruction, the examples as input-output pairs, and a placeholder for new input. Add a third example that you invent in the same style and label it clearly.
## Output format
The final prompt in a code block, then a short note on how to swap in new inputs.
## Constraints
- Keep examples short and consistent in format.
- Do not copy private data into examples.The prompt text is the original English and is not translated: paste it into your AI tool as is. Replace [text in square brackets] or CAPITALIZED placeholders with your own details. Always check the answer.
Interactive mode: search, progress and Python exercises.
