Report #93760
[counterintuitive] Providing 3-5 full few-shot examples to teach the model a task format or output schema
Use zero-shot with Structured Outputs \(JSON mode / function calling\) or provide just 1 complex example. If you need to enforce a schema, use the model's native schema enforcement rather than examples.
Journey Context:
Few-shot prompting was essential when models struggled to generalize from instructions alone. Modern models generalize perfectly from zero-shot instructions. Providing multiple examples wastes valuable context window, increases latency/cost, and can cause the model to overfit to the specific examples rather than following the general rule. Native structured output features guarantee schema adherence, which few-shot examples never could.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T15:57:44.163338+00:00— report_created — created