Skip to content

SentimentResponse

Source code in docs_src/capo_lex_runtime_v2/types/sentiment_response.py
class SentimentResponse(TypedDict, closed=True):
    sentiment: NotRequired["capo_lex_runtime_v2.types.sentiment_type.SentimentType"]
    """<p>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.</p>"""
    sentiment_score: NotRequired[
        "capo_lex_runtime_v2.types.sentiment_score.SentimentScore"
    ]

sentiment instance-attribute

sentiment: NotRequired[SentimentType]

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.

sentiment_score instance-attribute

sentiment_score: NotRequired[SentimentScore]