Class Suggestion (0.1.1)

Suggestion(mapping=None, *, ignore_unknown_fields=False, **kwargs)

A suggestion for a query with a ranking score.

Attributes

NameDescription
suggestion_info .auto_suggestion_service.SuggestionInfo
Detailed information about the suggestion.
ranking_score float
The score of the suggestion. This can be used to define ordering in UI. The score represents confidence in the suggestion where higher is better. All score values must be in the range [0, 1).
suggestion_type .auto_suggestion_service.SuggestionType
The type of the suggestion.