public sealed class PredictResponse : IMessage<PredictResponse>, IEquatable<PredictResponse>, IDeepCloneable<PredictResponse>, IBufferMessage, IMessage
Response message for [PredictionService.Predict][google.cloud.automl.v1.PredictionService.Predict].
max_bounding_box_count
: (int64) The maximum number of bounding boxes to return per image.
AutoML Natural Language Sentiment Analysis
sentiment_score
: (float, deprecated) A value between -1 and 1,
-1 maps to least positive sentiment, while 1 maps to the most positive
one and the higher the score, the more positive the sentiment in the
document is. Yet these values are relative to the training data, so
e.g. if all data was positive then -1 is also positive (though
the least).
sentiment_score is not the same as "score" and "magnitude"
from Sentiment Analysis in the Natural Language API.
The preprocessed example that AutoML actually makes prediction on.
Empty if AutoML does not preprocess the input example.
For AutoML Natural Language (Classification, Entity Extraction, and
Sentiment Analysis), if the input is a document, the recognized text is
returned in the
[document_text][google.cloud.automl.v1.Document.document_text]
property.
[[["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-07 UTC."],[[["\u003cp\u003eThis document describes the \u003ccode\u003ePredictResponse\u003c/code\u003e class within the \u003ccode\u003eGoogle.Cloud.AutoML.V1\u003c/code\u003e namespace, specifically version 2.5.0, which is a response message for the \u003ccode\u003ePredictionService.Predict\u003c/code\u003e method.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePredictResponse\u003c/code\u003e class inherits from \u003ccode\u003eObject\u003c/code\u003e and 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, supporting various functionalities related to message handling and data comparison.\u003c/p\u003e\n"],["\u003cp\u003eThe class contains properties like \u003ccode\u003eMetadata\u003c/code\u003e, a map field for additional domain-specific prediction response metadata, and \u003ccode\u003ePayload\u003c/code\u003e, a repeated field containing the actual prediction results as \u003ccode\u003eAnnotationPayload\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eIt includes a \u003ccode\u003ePreprocessedInput\u003c/code\u003e property, which, if populated, contains the example used by AutoML for making predictions, especially useful for natural language processing tasks where the recognized text may be available.\u003c/p\u003e\n"],["\u003cp\u003eThe document also provides a list of all documented versions, showing that the latest version is \u003ccode\u003e3.4.0\u003c/code\u003e and that \u003ccode\u003e2.5.0\u003c/code\u003e is a past version.\u003c/p\u003e\n"]]],[],null,[]]