Emotion

The Emotion Analysis model will help you understand and interpret speaker emotions in a conversation or text. It is designed to understand human conversation in the form or free text or spoken text and is designed after the emotion wheel.

Emotion Types

Types of Emotions detected by enabling this model configuration in the Speech Analytics API:

Admiration Amusement Anger Annoyance Approval Caring Confusion Curiosity Desire Disappointment Disapproval Disgust Embarrassment Excitement Fear Gratitude Grief Joy Love Nervousness Optimism Pride Realization Relief Remorse Sadness Surprise Neutral

Example Response

{
    "status": true,
    "error": {},
    "data": {
        "mlOut": {
            "text": "Marsview real-time analytics APIs are out for general use.",
            "labels": [
                {
                    "value": "NEUTRAL",
                    "confidence": 0.9758416414260864
                }
            ]
        }
    }
}

status field will be set to false if something went wrong while processing the request check for any error messages in the error field

Response Object

FieldDescription

labels

The emotion labels identified by the models

confidence

Confidence of the predicted emotion

value

The predicted emotion

Last updated