Skip to content

MentionSentiment

Source code in docs_src/capo_comprehend/types/mention_sentiment.py
class MentionSentiment(TypedDict, closed=True):
    sentiment: NotRequired["capo_comprehend.types.sentiment_type.SentimentType"]
    """<p>The sentiment of the mention. </p>"""
    sentiment_score: NotRequired["capo_comprehend.types.sentiment_score.SentimentScore"]

sentiment instance-attribute

sentiment: NotRequired[SentimentType]

The sentiment of the mention.

sentiment_score instance-attribute

sentiment_score: NotRequired[SentimentScore]