Class InterpretError (0.4.0)

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

Details on the failure to interpret the question.

Attributes

NameDescription
message str
Error message explaining why this question could not be interpreted.
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.

InterpretIncompleteQueryDetails

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

Details about an incomplete query.

InterpretUnsupportedDetails

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

Details about unsupported parts in a query.