You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::Lex::Types::SentimentResponse
- Inherits:
-
Struct
- Object
- Struct
- Aws::Lex::Types::SentimentResponse
- Defined in:
- (unknown)
Overview
The sentiment expressed in an utterance.
When the bot is configured to send utterances to Amazon Comprehend for sentiment analysis, this field structure contains the result of the analysis.
Returned by:
Instance Attribute Summary collapse
-
#sentiment_label ⇒ String
The inferred sentiment that Amazon Comprehend has the highest confidence in.
-
#sentiment_score ⇒ String
The likelihood that the sentiment was correctly inferred.
Instance Attribute Details
#sentiment_label ⇒ String
The inferred sentiment that Amazon Comprehend has the highest confidence in.
#sentiment_score ⇒ String
The likelihood that the sentiment was correctly inferred.