This page describes how to create serving configs. A serving config is a serving entity that associates a model that is used to generate your recommendation results.
Before you begin
Before you can create a serving config, you must create a model. When you create the model, save the model ID so you can select the model when you create your serving config. For more information, see Create recommendation models.
You can switch models later, as long as it is of the same model type.
Create a serving config
You can create a serving config using the Discovery Engine console. Up to 100 serving configs are allowed per datastore.
Create a serving config in the console
Add a new serving config on the Serving Configs page in the Google Cloud console.
To create a new serving config:
Go to the Discovery Engine Serving Configs page in the Google Cloud console.
Go to the Serving Configs pageClick add_boxCreate serving config.
Recommendations is selected. Currently, this is the only option.
Provide a name for your serving config.
The name must be 128 characters or less, and can contain only alphanumeric characters, underscores, hyphens, and spaces.
Optional: If needed, edit the ID.
The ID is generated from the name that you provide. The ID must be unique across your project and cannot contain spaces. The length must be 4-63 characters.
Click Continue.
On the Include model page:
Select the model that you want this serving config to provide recommendations for.
For more information, see Create recommendation models.
Click Continue.
On the Preferences page:
Make a selection under Demote content based on viewer data. Here you can determine how viewer data will affect the demotion of recommendations. If you have no playable media in your datastore, selecting an option to demote played content has no effect. Recommendations that are demoted go to the bottom of the results list.
Make a selection under Demote recommendations based on age. Here you can determine how content age will affect the demotion of recommendations. If you have no playable media in your datastore, selecting the option to demote content based on its age has no effect. Recommendations that are demoted go to the bottom of the results list.
Make a selection under Diversification type. Here you can select whether to use rule-based or data-driven diversification.
For more information, see Diversification.
Make a selection under Diversification level. Here you can determine the diversification level.
Click Create to create the new serving config.
The new config appears in your Serving Configs page.