Class Interpretation (0.4.0)

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

An interpretation of a natural language query.

Attributes

NameDescription
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 google.cloud.dataqna_v1alpha.types.HumanReadable
Human readable representation of the query.
interpretation_structure google.cloud.dataqna_v1alpha.types.InterpretationStructure
Information about the interpretation structure that helps to understand and visualize the response.
data_query google.cloud.dataqna_v1alpha.types.DataQuery
Representation of the data query to be sent to the backend.
execution_info google.cloud.dataqna_v1alpha.types.ExecutionInfo
Information about the backend response. This is populated only if execution of an interpretation was requested.