Skip to content

SentimentScore

rboto-lex-runtime-v2==0.4.0 · Service index · Types

Public import: from rboto_lex_runtime_v2.types import SentimentScore.

Used in: output. Typed dictionary. Presence and nullability are separate: NotRequired permits omission; | None permits a null value.

SentimentScore = TypedDict(
    "SentimentScore",
    {
        "positive": Required['float'],
        "negative": Required['float'],
        "neutral": Required['float'],
        "mixed": Required['float'],
    },
)

—