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.
The mode under which spell correction should take effect to replace the original search query. Default to Mode.AUTO.
Mode
Enum describing under which mode spell correction should occur.
Enums
MODE_UNSPECIFIED
Unspecified spell correction mode. In this case, server behavior defaults to Mode.AUTO.
SUGGESTION_ONLY
Search API will try to find a spell suggestion if there is any and put in the SearchResponse.corrected_query. The spell suggestion will not be used as the search query.
AUTO
Automatic spell correction built by the Search API. Search will be based on the corrected query if found.
[[["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."],[[["This specification details the configuration for query spell correction within the search functionality."],["The `mode` field determines how spell correction is applied, with options defined by the `Mode` enum."],["The `Mode` enum includes `MODE_UNSPECIFIED` (defaults to `AUTO`), `SUGGESTION_ONLY` (provides a suggestion without using it in the query), and `AUTO` (automatically corrects the query if a correction is found)."],["By default, spell correction is set to `AUTO`, automatically correcting the query if a correction is available."]]],[]]