Class: Aws::Lex::Types::SentimentResponse
- Inherits:
-
Struct
- Object
- Struct
- Aws::Lex::Types::SentimentResponse
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-lex/types.rb
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.
Constant Summary collapse
- SENSITIVE =
[]
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.
1595 1596 1597 1598 1599 1600 |
# File 'lib/aws-sdk-lex/types.rb', line 1595 class SentimentResponse < Struct.new( :sentiment_label, :sentiment_score) SENSITIVE = [] include Aws::Structure end |
#sentiment_score ⇒ String
The likelihood that the sentiment was correctly inferred.
1595 1596 1597 1598 1599 1600 |
# File 'lib/aws-sdk-lex/types.rb', line 1595 class SentimentResponse < Struct.new( :sentiment_label, :sentiment_score) SENSITIVE = [] include Aws::Structure end |