Create serving configs

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:

  1. Go to the Discovery Engine Serving Configs page in the Google Cloud console.

    Go to the Serving Configs page

  2. Click Create serving config.

    1. Recommendations is selected. Currently, this is the only option.

    2. 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.

    3. 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.

    4. Click Continue.

  3. On the Include model page:

    1. Select the model that you want this serving config to provide recommendations for.

      For more information, see Create recommendation models.

    2. Click Continue.

  4. On the Preferences page:

    1. 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.

    2. 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.

    3. Make a selection under Diversification type. Here you can select whether to use rule-based or data-driven diversification.

      For more information, see Diversification.

    4. Make a selection under Diversification level. Here you can determine the diversification level.

  5. Click Create to create the new serving config.

    The new config appears in your Serving Configs page.

Next steps