Overview
The Humanity metric analyzes the emotional profile of assistant responses using the NRC Emotion Lexicon. It computes emotion distributions, emotional entropy, and Spearman correlation against ground truth responses.Dimensions
For each interaction, the metric computes distribution scores across eight emotions:
Additionally, it computes:
- Emotional entropy: How diverse the emotional range is (higher = more diverse)
- Ground truth Spearman correlation: How closely the emotional profile matches the expected response
Usage
Parameters
The Humanity metric does not require an LLM — it uses lexicon-based analysis.
Output schema
HumanityMetric
One result per interaction (not per session):Requires the
humanity extra: pip install "gaussia[humanity]".