[[["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 page details the \u003ccode\u003ePredictionServiceBase\u003c/code\u003e class, which serves as the foundation for server-side implementations of the \u003ccode\u003ePredictionService\u003c/code\u003e in the Google Cloud Retail V2 API.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of \u003ccode\u003ePredictionServiceBase\u003c/code\u003e is 2.12.0, with multiple earlier versions ranging from 2.11.0 down to 1.0.0, also available.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePredictionServiceBase\u003c/code\u003e class, found within the \u003ccode\u003eGoogle.Cloud.Retail.V2\u003c/code\u003e namespace, inherits from \u003ccode\u003eObject\u003c/code\u003e and resides within the \u003ccode\u003eGoogle.Cloud.Retail.V2.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"],["\u003cp\u003eThe primary method in \u003ccode\u003ePredictionServiceBase\u003c/code\u003e is \u003ccode\u003ePredict\u003c/code\u003e, which handles recommendation predictions using a \u003ccode\u003ePredictRequest\u003c/code\u003e and a \u003ccode\u003eServerCallContext\u003c/code\u003e and returns a \u003ccode\u003ePredictResponse\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePredict\u003c/code\u003e method has parameters, that are \u003ccode\u003erequest\u003c/code\u003e which details what was sent by the client and \u003ccode\u003econtext\u003c/code\u003e which details the context of the server call that was invoked, with the return being a wrapped task of type \u003ccode\u003ePredictResponse\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]