SentimentResponse
¶
Source code in docs_src/capo_lex_runtime_service/types/sentiment_response.py
sentiment_label
instance-attribute
¶
sentiment_label: NotRequired[SentimentLabel]
The inferred sentiment that Amazon Comprehend has the highest confidence in.
sentiment_score
instance-attribute
¶
sentiment_score: NotRequired[SentimentScore]
The likelihood that the sentiment was correctly inferred.