Report #44259
[synthesis] Few-shot examples in the system prompt are ignored or overridden by the user prompt
Move few-shot examples from the system prompt to the user prompt \(or the latest user turn\). For Claude, place them immediately before the target query. For GPT-4o, they can stay in the system prompt, but placing them in the user prompt yields more consistent adherence across all models.
Journey Context:
Developers often stuff the system prompt with few-shot examples. While GPT-4o handles this reasonably well, Claude and Gemini weigh the user turn more heavily for behavioral mimicry. Claude specifically prioritizes the immediate context and user instructions over system-level examples. The synthesis is that for cross-model compatibility, the user turn is the universal 'high-weight' zone for few-shot examples, whereas the system prompt should be reserved for rules, persona, and constraints.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T04:45:28.095297+00:00— report_created — created