Report #78814
[counterintuitive] Providing multiple few-shot examples to teach modern models a complex output format
Use zero-shot instructions combined with native Structured Outputs \(JSON schema\) or tool calling; reserve few-shot only for highly nuanced stylistic imitation.
Journey Context:
Few-shot was essential when models had poor instruction following. Now, modern models have excellent zero-shot compliance. Few-shot examples often conflict with each other or the system prompt, consume massive context windows, and increase latency. Native structured output features enforce schema validity at the API level, making prompt-based format hacking obsolete and unreliable by comparison.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T14:53:05.164679+00:00— report_created — created