Skip to main content

Control output format (JSON mode)

Text
By langgptai | 0 views 0 copies |

Prompt

check: https://docs.anthropic.com/claude/docs/control-output-format Prefilling the response with an open bracket can help. Add "Do not output preamble or explanations." and it follows it pretty well.

Rate this prompt

Click to rate

0.0 avg rating (0)

Notes

Tip: Claude-optimized prompt
Reference: From awesome-claude-prompts repository