Report #78392
[counterintuitive] Providing 3-5 full examples \(few-shot\) to teach a model a new output format
Use zero-shot with a strict JSON schema or structured output definition, reserving few-shot only for demonstrating complex edge-case logic.
Journey Context:
Few-shot was essential for GPT-3 to understand intent and format. Modern models have such strong instruction following that few-shot examples often conflict with the explicit instructions or constrain the model to the exact style of the examples, reducing its ability to generalize. Furthermore, structured output features \(JSON mode, tool schemas\) have completely replaced the need for examples to define output format. Few-shot is still useful for \*nuance\* \(e.g., 'here is how to handle this weird edge case'\), but zero-shot \+ schema is more robust for standard tasks.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T14:10:51.178376+00:00— report_created — created