Required. A list of all denylist entries to import. Max of 1000 items.
CompletionSuggestion
Autocomplete suggestions that are imported from Customer.
JSON representation
{"suggestion": string,"languageCode": string,"groupId": string,"groupScore": number,"alternativePhrases": [string],// Union field ranking_info can be only one of the following:"globalScore": number,"frequency": string// End of list of possible types for union field ranking_info.}
Fields
suggestion
string
Required. The suggestion text.
languageCode
string
BCP-47 language code of this suggestion.
groupId
string
If two suggestions have the same groupId, they will not be returned together. Instead the one ranked higher will be returned. This can be used to deduplicate semantically identical suggestions.
groupScore
number
The score of this suggestion within its group.
alternativePhrases[]
string
Alternative matching phrases for this suggestion.
Union field ranking_info. Ranking metrics of this suggestion. ranking_info can be only one of the following:
globalScore
number
Global score of this suggestion. Control how this suggestion would be scored / ranked.
[[["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-02-28 UTC."],[[["The `CompletionSuggestion` object represents autocomplete suggestions imported from a customer, with a JSON structure that includes suggestion text, language code, and optional grouping and ranking information."],["A `CompletionSuggestion`'s `ranking_info` is a union field that can have one of two different ranking metrics: `globalScore`, to rank suggestions, or `frequency`, to rank them when the score isn't available."],["The `groupId` field within `CompletionSuggestion` ensures that only the highest-ranked suggestion is returned when multiple suggestions share the same ID, preventing semantically identical suggestions from appearing together."],["`CompletionSuggestions` are transmitted as a list within a `suggestions` field, with a maximum limit of 1000 items within the list."]]],[]]