Few-Shot Examples Have Uneven Quality and Drag Output Down
You gave the model 5 examples; 2 are great, 3 are mediocre, and it averages toward the mediocre ones. Why example variance hurts and how to curate down to 3-5 consistent ones.
Prompt-side problems that degrade output: clarity, structure, output control, and behavior fixes — with Before / After examples.
About 70% of "bad AI answers" are prompt-structure problems, not model problems. This hub is organized into four tracks: (1) Clarity — long prompts get worse, conflicting instructions, too-broad prompts, unclear task boundaries, too many tasks in one prompt, background that buries the task, emotional wording instead of operational instructions; (2) Structure — no output format, missing or too many examples, role instruction alone, missing context hierarchy, missing source hierarchy, prompts copied from another task; (3) Output Control — vague answers, polished-but-not-actionable output, lists instead of execution, no success criteria, ambiguous evaluation criteria, dropped constraints, recency overrides earlier rules, vague negatives, mixed-tone instructions, style vs format conflicts; (4) Behavior Repair — hallucinations, gap-filling assumptions, style drift, rewritten key logic, over-editing on light rewrite, missing decision rules, missing audience, unexpected refusals. Every article ships a "bad prompt → good prompt" comparison and at least 5 concrete repair techniques you can apply to your next prompt immediately.
You gave the model 5 examples; 2 are great, 3 are mediocre, and it averages toward the mediocre ones. Why example variance hurts and how to curate down to 3-5 consistent ones.
You asked for JSON matching a schema. Most calls return valid JSON, some return prose with JSON inside, some omit fields. Description vs enforcement, and how to fix at the API layer.
The model produced a citation like Smith et al. 2019 and the paper does not exist, or a URL that 404s. Why citation hallucination happens and how to stop it for good.
You prompted in English and the model answered in Chinese, or it switched mid-output. The exact cause of language drift and the system-prompt + retry pattern that locks the output language, verified June 2026.
The model's reply ends mid-sentence, mid-JSON, or with an unclosed code block. It is almost always the token cap. How to size it, detect truncation per SDK, and recover.
You asked for 10 ideas and got 3, or 10 slots padded with filler. Why list-length prompts under-deliver, and the prompt + schema fixes that actually get you N distinct items.
Your prompt still says 2023 in 2026, so the model recommends GPT-4, quotes old pricing, and cites dead frameworks. Fastest fix: inject the current date dynamically. Plus a diagnosis table and how to confirm it's gone.