Emotion Analysis (Modelmetry)
This evaluator analyzes messages' emotional content, specifically targeting the presence and intensity of specified emotions such as joy, sadness, anger, or frustration.
Configuration
Option
Description
Type
Default
Required
Constraints
EmotionType
The type of emotion to evaluate.
string
frustration
true
Enum: joy, sadness, anger, frustration
FailThreshold
The threshold to trigger the evaluation to fail.
float64
0.7
true
Min: 0 Max: 1
Metrics
This evaluator reports the following metrics based on the analysis results:
Name
Key
Description
Min
Max
Joy
joy
Represents how joyful the text was.
0
1
Sadness
sadness
Represents how sad the text was.
0
1
Anger
anger
Represents how angry the text was.
0
1
Frustration
frustration
Represents how frustrated the text was.
0
1
Last updated