Reference documentation and code samples for the Retail v2 API class ModelService.
Service for performing CRUD operations on models.
Recommendation models contain all the metadata necessary to generate a set of
models for the Predict() API. A model is queried
indirectly via a ServingConfig, which associates a model with a
given Placement (e.g. Frequently Bought Together on Home Page).
This service allows you to do the following:
Initiate training of a model.
Pause training of an existing model.
List all the available models along with their metadata.
public static void BindService(ServiceBinderBase serviceBinder, ModelService.ModelServiceBase serviceImpl)
Register service method with a service binder with or without implementation. Useful when customizing the service binding logic.
Note: this method is part of an experimental API that can change or be removed without any prior notice.
[[["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\u003eModelService\u003c/code\u003e class in the Retail v2 API allows for CRUD operations on recommendation models, which are used to generate models for the \u003ccode\u003ePredict()\u003c/code\u003e API.\u003c/p\u003e\n"],["\u003cp\u003eThis service enables users to initiate and pause model training, list available models with their metadata, and manage their tuning schedules.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version available is 2.12.0, while the current documentation refers to version 2.6.0 of the \u003ccode\u003eModelService\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eBindService\u003c/code\u003e methods enable the registration of service methods with a server or a service binder, facilitating the setup of server-side handling logic.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eModelService\u003c/code\u003e class inherits members from the base \u003ccode\u003eobject\u003c/code\u003e class, which include \u003ccode\u003eGetHashCode()\u003c/code\u003e, \u003ccode\u003eGetType()\u003c/code\u003e, \u003ccode\u003eMemberwiseClone()\u003c/code\u003e, and \u003ccode\u003eToString()\u003c/code\u003e methods.\u003c/p\u003e\n"]]],[],null,[]]