PIIEvaluator
Scans LLM outputs for personally identifiable information using local regex patterns. Passes when no PII is detected. Fails with a per-type breakdown.| Parameter | Default | Description |
|---|---|---|
jurisdiction | "all" | "gdpr", "ccpa", "pipeda", "hipaa", or "all" |
patterns | None | Additional {name: regex} patterns |
redact | False | Replace PII with [REDACTED-TYPE] in reports |
threshold | 1.0 | Pass threshold (default: any PII = fail) |
SchemaEvaluator
Validates that LLM outputs conform to a Pydantic model or JSON Schema dict. Passes when output is valid JSON matching the schema. Fails with per-field error messages.| Parameter | Default | Description |
|---|---|---|
schema | required | Pydantic model class or JSON Schema dict |
strict | False | Fail on extra fields not in schema |
threshold | 1.0 | Pass threshold (default: any field error = fail) |

