public sealed class TextSentimentPredictionResult : IMessage<TextSentimentPredictionResult>, IEquatable<TextSentimentPredictionResult>, IDeepCloneable<TextSentimentPredictionResult>, IBufferMessage, IMessage
Reference documentation and code samples for the Vertex AI v1beta1 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"]],[["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-03-21 UTC."],[[["The `TextSentimentPredictionResult` class is part of the Vertex AI v1beta1 API and is used for representing the prediction output format for text sentiment."],["This class implements several interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, making it versatile for data manipulation."],["It inherits from the base `object` class, including inherited members like `GetHashCode()`, `GetType()`, and `ToString()`."],["The class has two constructors: a default constructor and one that accepts another `TextSentimentPredictionResult` object."],["It contains one property, `Sentiment`, which is an integer representing the sentiment label of the text snippet, ranging from 0 (least positive) to a maximum value that can range from 1 to 10 (most positive)."]]],[]]