GlossaryEntry 12 of 30

Guardrails

Rules and filters that limit what an AI can say or do.

Read the transcript

Before answering you, AI often runs its reply through a filter. AI glossary, entry twelve: guardrails. They're rules and filters that limit what an AI can say or do. First, the barriers. On a mountain road, they don't drive for you… but they make it harder to go over the edge. For AI, some are learned during training; others sit around the model, like a filter that checks requests and replies. Then, an example. You ask an assistant whether you can double the dose of a medicine. Before the reply appears, a filter checks it. Risky advice? It blocks it… and points you to a doctor or a pharmacist instead. Why does it matter? An overly strict guardrail can refuse a harmless request: rephrase and explain what you're after. And when an AI acts for you, a guardrail can ask for your confirmation before anything important, like a payment. Remember: they block or adjust certain requests and replies; they can be built into the model or sit around it; and no guardrail is foolproof. Guardrails don't drive for you… they keep you on the road. Next entry: hallucination.

How it works

Guardrails surround a model to prevent certain outcomes: dangerous content, leaks of personal data, risky actions. They can be learned during training, or added around the model, like a filter that checks requests and replies. They work like the barriers along a mountain road: they don't drive for you, but they make it harder to go over the edge.

Why it matters to you

Unexpected refusals

An overly strict guardrail can refuse a harmless request. Rephrasing and explaining what you're after often helps.

Sensitive actions

When an AI acts on your behalf, a guardrail can require your confirmation before anything important, like a payment.

Common myth

False: “With guardrails, the AI can't say anything wrong.”

Guardrails mainly limit dangerous or forbidden content. They don't stop an AI from making mistakes or inventing information.

In the news