Sentiment analysis

Important

LUIS will be retired on October 1st 2025 and starting April 1st 2023 you will not be able to create new LUIS resources. We recommend migrating your LUIS applications to conversational language understanding to benefit from continued product support and multilingual capabilities.

If Sentiment analysis is configured, the LUIS json response includes sentiment analysis. Learn more about sentiment analysis in the Language service documentation.

LUIS uses V2 of the API.

Sentiment Analysis is configured when publishing your application. See how to publish an app for more information.

Resolution for sentiment

Sentiment data is a score between 1 and 0 indicating the positive (closer to 1) or negative (closer to 0) sentiment of the data.

When culture is en-us, the response is:

"sentimentAnalysis": {
  "label": "positive",
  "score": 0.9163064
}

Next steps