{ ... "sentimentAnalysis": { "segments": [ { "text": " Good afternoon. My name is Aisha. Thank you for calling *** today. How may I be of assistance?", "sentiment": "positive", "startTime": 820, "endTime": 6120, "score": 0.9 }, { "text": " Hi, Aisha. Well, I want to sign up for the Wi-Fi service.", "sentiment": "positive", "startTime": 7660, "endTime": 13460, "score": 0.5 }, ... ], "summary": { "negativeCount": 2, "positiveCount": 21, "neutralCount": 31, "averageScore": 0.24444444444444446, "sentiment": "neutral" } }}
The sentiment analysis results can be consumed in real-time.Each sentiment analysis message will contain either an utterance sentiment analysis or a summary sentiment analysis.
The sentiment analysis will be performed for each utterance in the conversation.
Copy
{ "promptId": "sentimentAnalysis", "sequenceId": 0, "sentimentAnalysis": [ { "text": " Good afternoon. My name is Aisha. Thank you for calling Verizon today. How may I be of assistance?", "sentiment": "positive", "channel": 0, "startTime": 0, "endTime": 7679, "score": 0.8 } ]}