Report #82619
[counterintuitive] Are few-shot examples required for consistent formatting?
Use zero-shot with native structured outputs \(JSON schema\) instead of few-shot examples for formatting.
Journey Context:
Few-shot was the standard way to teach models output formats. However, examples can conflict with instructions, and models might over-index on the specific style or flaws of the examples. Native structured output features \(constrained decoding\) guarantee syntactic validity 100% of the time, making few-shot formatting examples obsolete, fragile, and a waste of context window space.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T21:16:14.819255+00:00— report_created — created