Report #79321
[counterintuitive] Providing few-shot examples to teach the model a specific JSON schema or output format
Use zero-shot with a strictly defined JSON schema via native Structured Outputs \(JSON mode\) and explicit schema definitions in the prompt.
Journey Context:
Few-shot was necessary when models struggled with zero-shot instruction following. Now, few-shot examples often conflict with the system prompt or schema constraints, leading to attention dilution. Modern APIs guarantee schema adherence natively, making few-shot examples redundant and harmful because they lock the model into the distribution of the examples rather than the exact schema.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T15:44:25.944031+00:00— report_created — created