public sealed class PredictResponse.Types.PredictionResult : IMessage<PredictResponse.Types.PredictionResult>, IEquatable<PredictResponse.Types.PredictionResult>, IDeepCloneable<PredictResponse.Types.PredictionResult>, IBufferMessage, IMessage
Reference documentation and code samples for the Recommendations AI v1beta1 API class PredictResponse.Types.PredictionResult.
PredictionResult represents the recommendation prediction results.
[[["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\u003eThe latest version of the \u003ccode\u003ePredictResponse.Types.PredictionResult\u003c/code\u003e class is 2.0.0-beta06, and it is part of the Recommendations AI v1beta1 API.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003ePredictionResult\u003c/code\u003e represents the results of a recommendation prediction, serving as a key component in the API's prediction process.\u003c/p\u003e\n"],["\u003cp\u003eThis class inherits from \u003ccode\u003eobject\u003c/code\u003e and 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, providing various functionalities.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003ePredictionResult\u003c/code\u003e has properties like \u003ccode\u003eId\u003c/code\u003e for the recommended catalog item's ID, and \u003ccode\u003eItemMetadata\u003c/code\u003e for additional item metadata, such as the JSON representation of a \u003ccode\u003ecatalogItem\u003c/code\u003e or a prediction score.\u003c/p\u003e\n"],["\u003cp\u003eThe class provides two constructors, one being empty, and the other taking another \u003ccode\u003ePredictionResult\u003c/code\u003e as a parameter, for quick and easy copies of existing instances.\u003c/p\u003e\n"]]],[],null,[]]