The price of a guardrail

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

Every guardrail has two prices. It sometimes blocks a perfectly good request, and it adds time to every request. A team that only counts the attacks it stopped will keep adding guardrails until customers quietly leave.

The rest of this lesson

  • Two error rates
  • Measure on labelled cases
  • Scale it up
  • Compare it with the attacks
  • Count the latency
  • Make it cheaper
  • 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.