Home › Prompts › Any chat AI › Few-shot example generator
Few-shot example generator
Create diverse, high-quality input/output examples to embed in a prompt, including edge cases.
Any chat AIPrompt engineeringRuleStack original
Written for Any frontier chat model (GPT-6, Claude 5.5, Gemini 4 Argon, Grok 4.7) · Updated 2026-10-16
Note: Review and test before use. Provided as is, without warranty. See Terms.
Prompt
DownloadI'm writing a prompt for this task: [task]. Create [number, e.g. 5] input/output example pairs to include in the prompt. Requirements: cover the typical case, two hard cases, one case where the right answer is "not enough information", and one case with messy input. Keep outputs in exactly this format: [format]. Make the examples varied so the model doesn't copy surface patterns.Replace everything in [square brackets] with your own details.
Settings & parameters
- Any chat AI
Variations
- Ask for negative examples labeled "bad output" with why.
Tips
- Wrap examples in clear tags (e.g. <example>) so the model separates them from instructions.