includedSuggestionRelevanceTags property

List<IncludedSuggestionRelevanceTag>? includedSuggestionRelevanceTags
getter/setter pair

The client is expected to check this list against the values of the field relevanceTags of AvailableSuggestion to decide if the suggestion should be given a different relevance than the IncludedSuggestionSet that contains it. This might be used for example to give higher relevance to suggestions of matching types.

If an AvailableSuggestion has relevance tags that match more than one IncludedSuggestionRelevanceTag, the maximum relevance boost is used.

Implementation

List<IncludedSuggestionRelevanceTag>? includedSuggestionRelevanceTags;