Skip to main content
STRUCTURED-OUTPUTS-TOOL-USE5 MIN READ

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.

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.

Already have an account? Sign in

← Back to library
Contact us