Aller au contenu principal

Decide: Put the Enum in the Schema or Clean It Up Later?

Decide when categorical values should be enforced by schema rather than repaired downstream.

structured-outputs-tool-use5 min read

Your incident-response assistant must classify each alert into one of three routing buckets that determine who gets paged. The current output is valid JSON, but values like urgent, sev1, critical, and high keep slipping through.

Read the full lesson

Sign up free: one personalized lesson every day, matched to your role and goals.

← Back to library

Nous contacter