Overview
The Bias metric measures bias in AI responses across five protected attributes using a guardian-based detection system. For each interaction, aGuardian 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 aGuardian subclass:
Requires the
bias extra: pip install "gaussia[bias]".