guardrail (AI)

A check that runs before or after a model call, in code or with another model, to block, rewrite or flag unsafe input or output.

In more detail

Typical guardrails detect prompt injection, redact personal data, enforce topics and validate output before it is shown or acted on. Each one lowers the odds rather than removing them, so layer them and keep the decisive controls, such as permissions, outside the model.

Related terms

Taught in

References

Certification courses