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.
A list of recommended Documents. The order represents the ranking (from the most relevant Document to the least).
attributionToken
string
A unique attribution token. This should be included in the UserEvent logs resulting from this recommendation, which enables accurate attribution of recommendation model performance.
missingIds[]
string
IDs of documents in the request that were missing from the default Branch associated with the requested ServingConfig.
[[["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 2024-02-13 UTC."],[[["The `Recommend` method returns a response message containing a list of recommended documents (`results`), an attribution token, a list of missing document IDs (`missingIds`), and a validation flag (`validateOnly`)."],["The `results` field includes a ranked list of `RecommendationResult` objects, representing the most to least relevant recommended documents."],["Each `RecommendationResult` object contains a document's ID, and optionally, the full `Document` object and additional metadata, such as a recommendation score."],["The `attributionToken` is a unique identifier used for tracking the performance of the recommendation model when logging `UserEvent` actions."],["The `missingIds` field lists any document IDs that were in the request but could not be found in the associated default Branch."]]],[]]