Home/
Part XV — Troubleshooting, Checklists, and Reference/45. Common Failure Modes (And Fix Recipes)/45.2 Outputs are correct but messy
45.2 Outputs are correct but messy
Overview and links for this section of the guide.
On this page
The Chatty Model
Model: "Sure! Here is the JSON you asked for. I hope it helps!"
Fix: Add "Output ONLY the raw JSON string. No preamble. No postscript."
Markdown Leakage
Model: ```json { "key": "value" } ```
Fix: Your parser needs to strip the triple backticks. Or, prompt: "Do not use markdown code blocks."