prompt
other
temp: 0.2

Prompt repair loop: validate → fix → re-ask

F

frosty

Verified

@frosty

1 min read
10h ago

Repair loop

  1. Ask for JSON
  2. Validate
  3. If invalid: show errors, ask to fix

Works great with Zod + a retry prompt.

Comments (0)

No comments yet. Be the first to comment!