Contact Center AI Insights v1 API - Class SentimentData (2.10.0)

public sealed class SentimentData : IMessage<SentimentData>, IEquatable<SentimentData>, IDeepCloneable<SentimentData>, IBufferMessage, IMessage

Reference documentation and code samples for the Contact Center AI Insights v1 API class SentimentData.

The data for a sentiment annotation.

Inheritance

object > SentimentData

Namespace

Google.Cloud.ContactCenterInsights.V1

Assembly

Google.Cloud.ContactCenterInsights.V1.dll

Constructors

SentimentData()

public SentimentData()

SentimentData(SentimentData)

public SentimentData(SentimentData other)
Parameter
NameDescription
otherSentimentData

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
TypeDescription
float

Score

public float Score { get; set; }

The sentiment score between -1.0 (negative) and 1.0 (positive).

Property Value
TypeDescription
float