Google Cloud Dialogflow v2beta1 API - Class SentimentAnalysisResult (1.0.0-beta12)

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

Reference documentation and code samples for the Google Cloud Dialogflow v2beta1 API class SentimentAnalysisResult.

The result of sentiment analysis. Sentiment analysis inspects user input and identifies the prevailing subjective opinion, especially to determine a user's attitude as positive, negative, or neutral. For [Participants.DetectIntent][], it needs to be configured in [DetectIntentRequest.query_params][google.cloud.dialogflow.v2beta1.DetectIntentRequest.query_params]. For [Participants.StreamingDetectIntent][], it needs to be configured in [StreamingDetectIntentRequest.query_params][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.query_params]. And for [Participants.AnalyzeContent][google.cloud.dialogflow.v2beta1.Participants.AnalyzeContent] and [Participants.StreamingAnalyzeContent][google.cloud.dialogflow.v2beta1.Participants.StreamingAnalyzeContent], it needs to be configured in [ConversationProfile.human_agent_assistant_config][google.cloud.dialogflow.v2beta1.ConversationProfile.human_agent_assistant_config]

Inheritance

object > SentimentAnalysisResult

Namespace

Google.Cloud.Dialogflow.V2Beta1

Assembly

Google.Cloud.Dialogflow.V2Beta1.dll

Constructors

SentimentAnalysisResult()

public SentimentAnalysisResult()

SentimentAnalysisResult(SentimentAnalysisResult)

public SentimentAnalysisResult(SentimentAnalysisResult other)
Parameter
NameDescription
otherSentimentAnalysisResult

Properties

QueryTextSentiment

public Sentiment QueryTextSentiment { get; set; }

The sentiment analysis result for query_text.

Property Value
TypeDescription
Sentiment