This preview documentation is deprecated as of October 27, 2023. For GA documentation, go to the Vertex AI Search documentation.
Changes in GA:
Name:Discovery for Media is renamed to Vertex AI Search for media. Vertex AI Search includes media recommendations and media search.
Google Cloud Console page: Use the Agent Builder page in the console. The Discovery Engine console page is deprecated.
API reference: Continue to use the discoveryengine.googleapis.com service. The API remains the same but the documentation has moved. Go to the up-to-date, GA version of the Discovery Engine API reference in the Vertex AI Search documentation.
Stay organized with collections
Save and categorize content based on your preferences.
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.
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.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-04-17 UTC."],[[["Data processed by Discovery for Media is subject to Google Cloud Platform Terms of Service, Pre-GA Offerings Terms, and the Discovery Solutions Consent Addendum."],["Creating a serving config requires a pre-existing model, identified by its model ID, which can be switched to another of the same type later."],["Serving configs are created via the Discovery Engine console, allowing up to 100 per datastore, and are named with specific character limits and constraints for the ID."],["When creating a serving config, users must select a model to generate recommendations and can configure preferences for demoting content based on viewer data and age."],["After creation, serving configs can be previewed and used to obtain recommendations, and can be found on the Serving Configs page."]]],[]]