Class Interpretation

An interpretation of a natural language query.

Attributes
NameDescription
Sequence[str]data_sources
List of data sources used in the current understanding.
floatconfidence
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.
Sequence[str]unused_phrases
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.
google.cloud.dataqna_v1alpha.types.HumanReadablehuman_readable
Human readable representation of the query.
google.cloud.dataqna_v1alpha.types.InterpretationStructureinterpretation_structure
Information about the interpretation structure that helps to understand and visualize the response.
google.cloud.dataqna_v1alpha.types.DataQuerydata_query
Representation of the data query to be sent to the backend.
google.cloud.dataqna_v1alpha.types.ExecutionInfoexecution_info
Information about the backend response. This is populated only if execution of an interpretation was requested.

Inheritance

builtins.object > proto.message.Message > Interpretation