A classifier guardrail is essentially:
AA regex over the prompt
BA retry loop
CA larger context window
DA second model that judges Claude's answer for policy compliance
Answer & Solution
Correct answer: D. A second model that judges Claude's answer for policy compliance
Classifier guardrails use a separate model (often Haiku) to score Claude's output against policy, flagging or blocking off-policy lines before they reach the user.
Related questions