News & Announcements User Community Developer Community

Welcome to the RingCentral Community

Please note the community is currently under maintenance and is read-only.

Search
Make sure to review our Terms of Use and Community Guidelines.
  Please note the community is currently under maintenance and is read-only.
Home » Developers
AI Interaction Analytics - missing emotion insights property
Tags: rest api
Aug 8, 2023 at 5:35am   •   2 replies  •  1 likes
Mateusz Stopka

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:
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?

2 Answers
answered on Mar 1, 2024 at 2:25pm  

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?


 0
answered on Sep 22, 2023 at 7:47am  

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.


 0



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

PRODUCTS
RingEX
Message
Video
Phone
OPEN ECOSYSTEM
Developer Platform
APIs
Integrated Apps
App Gallery
Developer support
Games and rewards

RESOURCES
Resource center
Blog
Product Releases
Accessibility
QUICK LINKS
App Download
RingCentral App login
Admin Portal Login
Contact Sales
© 1999-2024 RingCentral, Inc. All rights reserved. Legal Privacy Notice Site Map Contact Us