Overview
The Regulatory metric evaluates whether AI responses comply with a regulatory corpus (laws, policies, guidelines). It uses a RAG-based pipeline to:- Retrieve relevant regulatory chunks for each interaction
- Check for contradictions between the response and the retrieved chunks
- Score compliance per interaction and aggregate per session
Verdicts
Usage
Parameters
Output schema
RegulatoryMetric
Requires the
regulatory extra: pip install "gaussia[regulatory]".