Topic Level Sentiment

Topics are key drivers of the conversation. They’re the most important keywords or phrases used. The topics algorithm provides a framework for the user to calibrate and precisely model the relationship among the concepts and understand how the semantics of the meetings are talked upon .

Sentiments on topics determine whether the Topics resulting from the conversation are positive, negative, or neutral.

To get the topic level sentiment for the conversation , you need to use the Get Topics endpoint with “sentiment=true” query parameter. Given below is the endpoint

“GET https://api.symbl.ai/v1/conversations/{conversationId}/topics?sentiment=true”

The sample response returned by the API is given below :

{
   "topics":[
      {
         "id":"5907389282779136",
         "text":"interns",
         "type":"topic",
         "score":0.7178597920690242,
         "messageIds":[
            "4600982711304192",
            "5487363432120320",
            "6109794119188480"
         ],
         "sentiment":{
            "polarity":{
               "score":0.389
            },
            "suggested":"positive"
         },      
}