public sealed class TextSentimentPredictionResult : IMessage<TextSentimentPredictionResult>, IEquatable<TextSentimentPredictionResult>, IDeepCloneable<TextSentimentPredictionResult>, IBufferMessage, IMessage
The integer sentiment labels between 0 (inclusive) and sentimentMax label
(inclusive), while 0 maps to the least positive sentiment and
sentimentMax maps to the most positive one. The higher the score is, the
more positive the sentiment in the text snippet is. Note: sentimentMax is
an integer value between 1 (inclusive) and 10 (inclusive).
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-20 UTC."],[[["\u003cp\u003eThis webpage provides documentation for the \u003ccode\u003eTextSentimentPredictionResult\u003c/code\u003e class within the Google Cloud AI Platform, covering various versions from 1.0.0 to 3.22.0, with 3.22.0 being the latest.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eTextSentimentPredictionResult\u003c/code\u003e class is used for the output format of text sentiment predictions, inheriting from \u003ccode\u003eObject\u003c/code\u003e and implementing multiple interfaces like \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 class includes a \u003ccode\u003eSentiment\u003c/code\u003e property which represents the integer sentiment label, ranging from 0 (least positive) to \u003ccode\u003esentimentMax\u003c/code\u003e (most positive), where \u003ccode\u003esentimentMax\u003c/code\u003e is an integer between 1 and 10.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructors provided for \u003ccode\u003eTextSentimentPredictionResult\u003c/code\u003e: a default constructor and one that takes another \u003ccode\u003eTextSentimentPredictionResult\u003c/code\u003e object as a parameter.\u003c/p\u003e\n"],["\u003cp\u003eThe class is part of the \u003ccode\u003eGoogle.Cloud.AIPlatform.V1.Schema.Predict.Prediction\u003c/code\u003e namespace and is contained within the \u003ccode\u003eGoogle.Cloud.AIPlatform.V1.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"]]],[],null,[]]