JSON Output Self-Correction Prompt
From Wikiprompt, the free prompt encyclopedia
JSON Output Self-Correction Prompt A short system prompt that instructs the model to reason before generating JSON, reducing malformed output.
Prompt ContentSave
🌐
Before outputting JSON, think through your response step by step.
Then output ONLY valid JSON, no additional text.
Sign in to see the full prompt
Continue with:
By logging in, you agree to our Terms of Use and Privacy Policy
Usage
This prompt is designed for use with productivity. Copy the prompt content above and paste it into your preferred AI tool.
For best results, you may customize the placeholders (indicated by square brackets or capital letters) with your specific requirements.
Talk
0 comments