Selva Feliz
Selva Feliz

Reputation: 91

How to read/access sentiment analysis results from luis

I am using azure bot framework with LUIS. I am able to get the intent, and entity in the backend(node js). Similarly are we able to get sentiment analysis as well?

Here below the LUIS result.

intents 0
intent "Management Team" score 0.191086322

entities []

sentimentAnalysis
label "negative" score 0.20460996

Here below the node code i am using to get entityt/intent

bot.dialog('Team',[
(session, results) => {
  entity = builder.EntityRecognizer.findEntity(results.intent.entities, 'Team');
}

Similarly is there any way to access sentiment analysis?

Upvotes: 2

Views: 422

Answers (1)

Corina
Corina

Reputation: 843

Currently, sentiment analysis is not supported in v3 BotFramework (node or C#). However there is currently a PR to add such support for the LUIS feature to the C# SDK that you can track here.

Upvotes: 1

Related Questions