Class InterpretError (0.2.1)

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

Details on the failure to interpret the question. .. attribute:: message

Error message explaining why this question could not be interpreted.

:type: str

Attributes

NameDescription
code google.cloud.dataqna_v1alpha.types.InterpretError.InterpretErrorCode
The code for the error category why the interpretation failed.
details google.cloud.dataqna_v1alpha.types.InterpretError.InterpretErrorDetails
Details on interpretation failure.

Classes

InterpretAmbiguityDetails

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

Details about a query that was too ambiguous. Currently, the message has no fields and its presence signals that there was ambiguity.

InterpretErrorCode

InterpretErrorCode(value)

The interpret error code provides an error category why the interpretation failed.

InterpretErrorDetails

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

Details on interpretation failure. .. attribute:: unsupported_details

Populated if parts of the query are unsupported.

:type: google.cloud.dataqna_v1alpha.types.InterpretError.InterpretUnsupportedDetails

InterpretIncompleteQueryDetails

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

Details about an incomplete query. .. attribute:: entities

List of missing interpret entities.

:type: Sequence[google.cloud.dataqna_v1alpha.types.InterpretEntity]

InterpretUnsupportedDetails

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

Details about unsupported parts in a query. .. attribute:: operators

Unsupported operators. For example: median.

:type: Sequence[str]