Where guardrails sit

Lesson 18 of 28 · Guardrails · 2 min Get the course to watch

An eval tells you how often something goes wrong. A guardrail stops it from going wrong right now, on this request. They work together, but they are different jobs, and mixing them up leads to either slow products or leaky ones.

The rest of this lesson

  • Three places to stand
  • What each place catches
  • Actions come first
  • Decide what happens on failure
  • Fail open or closed
  • Guardrails are code you must test
  • The idea to keep

The full lesson is animated and narrated, with a short quiz, and you can pause it to ask a question. It comes with Evals, Observability and Guardrails for LLM Systems.