Tensorum

Evaluation & Guardrails

You can't improve what you can't measure — and you can't ship what you can't bound.

AI EngineeringIntermediate6 hrs4 key ideas · 5 topics
0%
your progress

Overview

You can't improve what you can't measure — and you can't ship what you can't bound.

Key ideas

  • Build a golden dataset from real traffic; grow it with every bug you find.
  • Combine deterministic checks, LLM-as-judge with rubrics, and human review for the ambiguous slice.
  • Run evals in CI so prompt or model changes can't silently regress quality.
  • Guardrails: input filtering, PII redaction, output validation, refusal handling, jailbreak testing.

Trade-offs

  • LLM judges are cheap and scalable but biased; calibrate them against humans.
  • Strict guardrails reduce risk but increase false refusals.

Topics

Golden datasetsLLM-as-judgeRegression in CIPII redactionRed-teaming