Class Interpretation (0.3.3)

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

An interpretation of a natural language query. .. attribute:: data_sources

List of data sources used in the current understanding.

:type: Sequence[str]

Attributes

NameDescription
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.