Report #73486
[counterintuitive] Providing few-shot examples to teach a model a new output format
Use zero-shot instructions with native structured output features \(JSON Schema\) to enforce formatting.
Journey Context:
In GPT-3/3.5 days, few-shot was mandatory for format control because zero-shot generalization was weak. With modern models, few-shot examples often conflict with the model's internal priors or waste context window, leading to degraded performance or format-locking. Native structured outputs guarantee parsing validity and allow schema enforcement, shifting the burden from prompt engineering to API parameters.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T05:56:26.560533+00:00— report_created — created