Class Interpretation (0.10.5)

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

An interpretation of a natural language query.


data_sources MutableSequence[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 MutableSequence[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 representation of the query.
Information about the interpretation structure that helps to understand and visualize the response.
Representation of the data query to be sent to the backend.
Information about the backend response. This is populated only if execution of an interpretation was requested.