Report #40515
[counterintuitive] Providing 3-5 input/output examples to teach the model a specific output format
Use zero-shot prompting with native structured output schemas \(JSON mode / Structured Outputs / tool use\) instead of few-shot examples.
Journey Context:
Few-shot was essential when models struggled with formatting. Now, few-shot examples often conflict with the model's native capabilities or strict JSON schemas, leading to unpredictable behavior. If you use Structured Outputs \(JSON schema\), few-shot examples are not only redundant but can actively confuse the schema adherence. Zero-shot \+ schema is more robust, token-efficient, and guarantees the output type.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T22:28:37.426064+00:00— report_created — created