EvaluationGuardrails
Guardrails
Enforce guardrails around your model calls from the SDK.
Guardrails
Guardrails are safety and policy rules that act on your model calls — redacting sensitive text, returning a safe response, throwing an error, or re-asking the model. You author, validate, and promote them in the platform; the SDK enforces the live rules in your application.
For what guardrails are, how to author them, and how they behave, see the Guardrails guide in the platform documentation.
This section covers the SDK surface: