public sealed class SentimentAnalysisResult : IMessage<SentimentAnalysisResult>, IEquatable<SentimentAnalysisResult>, IDeepCloneable<SentimentAnalysisResult>, IBufferMessage, IMessage
Reference documentation and code samples for the Dialogflow v3 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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe latest version of the \u003ccode\u003eSentimentAnalysisResult\u003c/code\u003e class in the Dialogflow v3 API is 2.23.0, and older versions are available, ranging back to 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eSentimentAnalysisResult\u003c/code\u003e is a class that implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSentimentAnalysisResult\u003c/code\u003e class analyzes user input to determine sentiment as positive, negative, or neutral, by providing the \u003ccode\u003eScore\u003c/code\u003e property.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eMagnitude\u003c/code\u003e property provides a non-negative value representing the strength of sentiment, while the \u003ccode\u003eScore\u003c/code\u003e property ranges from -1.0 (negative) to 1.0 (positive).\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructors, one empty and one taking in a parameter of type \u003ccode\u003eSentimentAnalysisResult\u003c/code\u003e allowing for instantiation.\u003c/p\u003e\n"]]],[],null,[]]