public sealed class SentimentData : IMessage<SentimentData>, IEquatable<SentimentData>, IDeepCloneable<SentimentData>, IBufferMessage, IMessageReference documentation and code samples for the Contact Center AI Insights v1 API class SentimentData.
The data for a sentiment annotation.
Implements
IMessageSentimentData, IEquatableSentimentData, IDeepCloneableSentimentData, IBufferMessage, IMessageNamespace
Google.Cloud.ContactCenterInsights.V1Assembly
Google.Cloud.ContactCenterInsights.V1.dll
Constructors
SentimentData()
public SentimentData()SentimentData(SentimentData)
public SentimentData(SentimentData other)| Parameter | |
|---|---|
| Name | Description |
other |
SentimentData |
Properties
Magnitude
public float Magnitude { get; set; }A non-negative number from 0 to infinity which represents the abolute magnitude of sentiment regardless of score.
| Property Value | |
|---|---|
| Type | Description |
float |
|
Score
public float Score { get; set; }The sentiment score between -1.0 (negative) and 1.0 (positive).
| Property Value | |
|---|---|
| Type | Description |
float |
|