Skip to content
RED SAGSkills
medium10 pts · first answer countsprompt-engineeringstructured-output

Retrying failed validation

Your code validates model JSON with Pydantic. About 2% of replies fail because a date is "15th March". What is a good retry strategy?

Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions