Home / All prompts / Meta-Prompting / Design few-shot examples
I need consistent output in a specific style or format: {{requirement}}.
Copy this prompt
I need consistent output in a specific style or format: {{requirement}}. Design three few-shot examples: (1) each with input and ideal output, where the output demonstrates every detail of the format; (2) the three should cover different edge cases — simple, complex, malformed — not three similar cases; (3) identify which parts of the examples are the key signals the model will learn from, and make sure they are consistent; (4) check for inconsistencies across examples, since the model will learn the confusion; (5) write the task instruction that goes before the examples.Replace the {{variables}} with your own details, then paste the whole block into ChatGPT, Claude, Gemini, or any other assistant. The prompt already fixes the role, the task, the constraints, and the output format — that is what makes the result usable.
我要让 AI 按特定风格/格式输出:{{要求}}。请帮我设计 3 个少样本示例:1) 每个示例包含输入和理想输出,输出要完整体现格式的每一个细节;2) 三个示例要覆盖不同的边界情况(简单、复杂、异常输入),而不是三个相似例子;3) 指出示例里哪几处是关键信号(AI 会学的地方),我要确保这些地方一致;4) 提醒我示例里如果有不一致的地方,AI 会学到混乱,检查并指出;5) 给一段任务说明,放在示例前面。I need consistent output in a specific style or format: {{requirement}}.
No — this prompt is in the free tier and is shown in full.
Yes. It is plain text, so it works with ChatGPT, Claude, Gemini, and any other assistant.