Skip to main content

We are trying to use /ai/insights/v1/async/analyze-interaction endpoint described in Extract interaction analytics from a media file (ringcentral.com). We tried multiple options for `insights` field but none of them returned any Emotion insights.

In documentation there are emotion insights for each sentence in utteranceInsights

"utteranceInsights": [
{
"start": 2.52,
"end": 6.53,
"text": "Could produce large hail isolated tornadoes and heavy rain.",
"confidence": 0.93,
"speakerId": "1",
"insights": [
{
"name": "Emotion",
"value": "Neutral",
"confidence": 0.7
}
]
}
],

but in our tests, regardless of what recording we send, the insights array is always empty.

Sample request:

1. With "all" insights:

{
"contentUri": "file url",
"encoding": "Mpeg",
"languageCode": "en-US",
"speakerCount": 2,
"enrollmentIds": [
"11788847407133"
],
"insights": ["All"],
"audioType": "CallCenter"
}

2. With "All" "Emotion" "Energy" insights:

{
    "contentUri": "file url",
    "encoding": "Mpeg",
    "languageCode": "en-US",
    "speakerCount": 2,
    "enrollmentIds": d
        "11788847407133"
    ],
    "insights": t
        "All",
        "Emotion",
        "Energy"
    ],
    "audioType": "CallCenter",
    "enableVoiceActivityDetection": true,
    "enablePunctuation": true,
    "enableSpeakerDiarization": true
}

Both cases returns response with empty insights:
1691497827609.png

Here are some more jobId's that we tried to get insights:
1. 04a7ceec-35e1-11ee-90cb-0050569cffc5

2. 0249cc0a-35e0-11ee-b580-0050569c72ca

3. 6fe183c8-35d8-11ee-b31c-0050569cffc5


Is there any way to request Interaction Analytics with emotion insights?

Hi there,

Finally the missing emotion insights issue is fixed and available in the response. Please try again and let me know if it is still an issue.


Hey @Mateusz Stopka Have you guys been using the interaction analytics Endpoint sucessfully? I was wondering how is that been working for devs.
We are considering building something to extract that data but we are worried if its not stable enough since its still in Beta. Do you get many issues?


Reply