Report #82823
[counterintuitive] Using heavy negative constraints like 'Do NOT hallucinate' or 'Never use loops' to prevent unwanted behavior
State what the model \*should\* do in positive terms \('Only use information provided in the context'\) and use structured outputs/enums to enforce strict choices.
Journey Context:
Negative constraints often prime the model for the exact behavior you want to avoid \(the 'pink elephant' problem\). 'Do not hallucinate' is completely unactionable for the model. Instead, 'Only use information provided in the context' gives a clear, actionable directive. For strict constraints \(like picking from a list\), use JSON schemas with Enum types to physically prevent the model from choosing the wrong path.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T21:36:33.831911+00:00— report_created — created