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": [ "11788847407133" ], "insights": [ "All", "Emotion", "Energy" ], "audioType": "CallCenter", "enableVoiceActivityDetection": true, "enablePunctuation": true, "enableSpeakerDiarization": true }
Both cases returns response with empty insights:
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?