Skip to main content

Overview

The Regulatory metric evaluates whether AI responses comply with a regulatory corpus (laws, policies, guidelines). It uses a RAG-based pipeline to:
  1. Retrieve relevant regulatory chunks for each interaction
  2. Check for contradictions between the response and the retrieved chunks
  3. Score compliance per interaction and aggregate per session

Verdicts

Usage

Parameters

Output schema

RegulatoryMetric

Requires the regulatory extra: pip install "gaussia[regulatory]".