Report #83488
[counterintuitive] Providing 3-5 examples \(few-shot\) as the default method to teach a model a new output format
Use zero-shot instructions with structured schemas \(JSON mode, tool definitions\) first. Only add few-shot examples if the task requires a highly specific stylistic nuance that schema alone cannot capture.
Journey Context:
Few-shot prompting was essential for early GPT-3 models to understand intent. However, modern models \(GPT-4, Claude 3.5\) have strong instruction-following capabilities. Few-shot examples often anchor the model too tightly to the specific style, length, and potential flaws of the examples, reducing its ability to generalize optimally. Structured outputs provide a deterministic contract for format, rendering few-shot formatting examples obsolete and often counterproductive.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T22:43:26.738882+00:00— report_created — created