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 Retail v2 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 \u003ccode\u003ePredictResponse.Types.PredictionResult\u003c/code\u003e class in the Retail v2 API represents the results of recommendation predictions.\u003c/p\u003e\n"],["\u003cp\u003eThis class 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, making it versatile for various data handling tasks.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003ePredictionResult\u003c/code\u003e objects can be constructed either as an empty instance or as a copy of another \u003ccode\u003ePredictionResult\u003c/code\u003e instance.\u003c/p\u003e\n"],["\u003cp\u003eKey properties include \u003ccode\u003eId\u003c/code\u003e, representing the ID of the recommended product, and \u003ccode\u003eMetadata\u003c/code\u003e, a map of string keys to value objects holding additional product information, such as the JSON representation or a prediction score.\u003c/p\u003e\n"],["\u003cp\u003eThe document provides a list of all versions available, ranging from version 1.0.0 to 2.12.0, the latest version of the \u003ccode\u003ePredictResponse.Types.PredictionResult\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]