Prisma

Policies & Metrics

What Prisma validates against — built-in metrics and your own custom policy metrics

A metric is a question Prisma asks of every interaction. A policy metric is one of those questions written in your own terms — the rule your business is actually held to. Together they're what Validation measures against.

Built-in metrics

Prisma ships metrics for the checks nearly every team needs:

  • Correctness — is the answer right, given the reference of what it should have been?
  • Hallucination — is the answer grounded, or did the model invent something unsupported?

These work out of the box and need no configuration beyond attaching them to a run.

Custom policy metrics

The built-ins cover general quality. Your obligations are specific — a suitability rule, a disclosure requirement, a tone-and-conduct standard. You express those as custom policy metrics, where you define:

  • The options — the verdicts the metric can return (for example adherent / breach), two to five of them.
  • The score for each option — what each verdict is worth on a 0–1 scale, so a result reads as pass, fail, or somewhere between.
  • The judgement itself — the instructions that tell the metric how to decide.

A policy metric is just a metric you authored, so it runs through the exact same validation and human-review path as the built-ins — including escalation when a case is ambiguous.

Every metric leaves room for ambiguous. You never define it and you never score it — Prisma adds it, because "not clearly either" is a real and important answer. See Human Review & Confidence.

To author one step by step, see Define a policy metric.

On this page