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 Retail v2 API's \u003ccode\u003eModelService\u003c/code\u003e class offers capabilities for managing recommendation models, such as initiating and pausing model training.\u003c/p\u003e\n"],["\u003cp\u003eThis \u003ccode\u003eModelService\u003c/code\u003e allows users to list available models and adjust their tuning schedules, providing control over model management.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version available is 2.12.0, and the page provides documentation for versions spanning from 1.0.0 to 2.12.0 for the Model Service class.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eModelService\u003c/code\u003e class includes methods for binding service implementations, including \u003ccode\u003eBindService(ModelServiceBase)\u003c/code\u003e and \u003ccode\u003eBindService(ServiceBinderBase, ModelServiceBase)\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eModelService\u003c/code\u003e class allows the creation of models for the \u003ccode\u003ePredict()\u003c/code\u003e API, and queries them via a ServingConfig, associating models with Placements.\u003c/p\u003e\n"]]],[],null,[]]