Contact Center AI Insights v1 API - Class SentimentData (2.15.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
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