class Aws::LexRuntimeV2::Types::SentimentResponse

Provides information about the sentiment expressed in a user's response in a conversation. Sentiments are determined using Amazon Comprehend. Sentiments are only returned if they are enabled for the bot.

For more information, see [ Determine Sentiment ][1] in the *Amazon Comprehend developer guide*.

[1]: docs.aws.amazon.com/comprehend/latest/dg/how-sentiment.html

@!attribute [rw] sentiment

The overall sentiment expressed in the user's response. This is the
sentiment most likely expressed by the user based on the analysis by
Amazon Comprehend.
@return [String]

@!attribute [rw] sentiment_score

The individual sentiment responses for the utterance.
@return [Types::SentimentScore]

@see docs.aws.amazon.com/goto/WebAPI/runtime.lex.v2-2020-08-07/SentimentResponse AWS API Documentation

Constants

SENSITIVE