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?
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?
A new Community is coming to RingCentral!
Posts are currently read-only as we transition into our new platform.We thank you for your patience
during this downtime.
Try Workflow Builder
Did you know you can easily automate tasks like responding to SMS, team messages, and more? Plus it's included with RingCentral Video and RingEX plans!Try RingCentral Workflow Builder