Skip to main content

Overview

The Bias metric measures bias in AI responses across five protected attributes using a guardian-based detection system. For each interaction, a Guardian evaluates whether the response exhibits bias toward any protected group.

Protected attributes

Gaussia evaluates bias across these attributes by default:

Usage

Parameters

Output schema

BiasMetric

AttributeBiasRate

Guardian interface

To use the Bias metric, implement a Guardian subclass:
Requires the bias extra: pip install "gaussia[bias]".