public sealed class TextSentimentPredictionResult : IMessage<TextSentimentPredictionResult>, IEquatable<TextSentimentPredictionResult>, IDeepCloneable<TextSentimentPredictionResult>, IBufferMessage, IMessage
Reference documentation and code samples for the Vertex AI v1 API class TextSentimentPredictionResult.
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 Vertex AI v1 API, detailing its structure and usage for predicting text sentiment.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eTextSentimentPredictionResult\u003c/code\u003e class is a sealed class that implements interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, offering functionalities for message handling, equality comparison, deep cloning, and buffer message operations.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation outlines that \u003ccode\u003eTextSentimentPredictionResult\u003c/code\u003e is a part of the \u003ccode\u003eGoogle.Cloud.AIPlatform.V1.Schema.Predict.Prediction\u003c/code\u003e namespace, included in the \u003ccode\u003eGoogle.Cloud.AIPlatform.V1.dll\u003c/code\u003e assembly, and it inherits from \u003ccode\u003eobject\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class has a \u003ccode\u003eSentiment\u003c/code\u003e property which is of type \u003ccode\u003eint\u003c/code\u003e, representing the sentiment score of the text, with values ranging from 0 to \u003ccode\u003esentimentMax\u003c/code\u003e, indicating a sentiment spectrum from least to most positive.\u003c/p\u003e\n"],["\u003cp\u003eThe webpage lists an extensive version history for the \u003ccode\u003eTextSentimentPredictionResult\u003c/code\u003e class, ranging from version 1.0.0 up to the latest version 3.22.0, with links to each version's documentation.\u003c/p\u003e\n"]]],[],null,[]]