Report #57496
[counterintuitive] Providing few-shot examples to teach a modern model a new output format or schema
Use zero-shot instructions with API-level structured output enforcement \(JSON Schema\) or explicit schema definitions. Reserve few-shot exclusively for subjective style mimicry.
Journey Context:
Few-shot was mandatory for GPT-3. For modern models, few-shot examples often conflict with their native instruction-following or structured output capabilities. If an example slightly violates the JSON schema you actually want, the model will follow the example and break the schema. Constrained decoding guarantees syntax; few-shot only introduces noise and eats context window.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T02:59:47.619824+00:00— report_created — created