Sentiment Class

The result of the sentiment analysis.

All required parameters must be populated in order to send to Azure.

Inheritance
Sentiment

Constructor

Sentiment(*, score: float, label: Optional[str] = None, **kwargs)

Parameters

label
str
Required

The label of the sentiment analysis result.

score
float
Required

Required. The sentiment score of the query.