Interpretation(mapping=None, *, ignore_unknown_fields=False, **kwargs)
An interpretation of a natural language query.
Attributes | |
---|---|
Name | Description |
data_sources |
Sequence[str]
List of data sources used in the current understanding. |
confidence |
float
The level of confidence that one of the interpretations is correct. This is a value in the range [0, 1] where a value of 0.5 or below is to be considered a low confidence. |
unused_phrases |
Sequence[str]
A list of unused phrases. Clients should display a Did You Mean (DYM) dialog if this is non-empty, even if this is the only interpretation. |
human_readable |
Human readable representation of the query. |
interpretation_structure |
Information about the interpretation structure that helps to understand and visualize the response. |
data_query |
Representation of the data query to be sent to the backend. |
execution_info |
Information about the backend response. This is populated only if execution of an interpretation was requested. |