InterpretError(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Details on the failure to interpret the question.
Attributes | |
---|---|
Name | Description |
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.
Values: INTERPRET_ERROR_CODE_UNSPECIFIED (0): No interpret error code was specified. INVALID_QUERY (1): The query is not valid. FAILED_TO_UNDERSTAND (2): The interpreter failed to understand the question. For example, because it was too ambiguous. FAILED_TO_ANSWER (3): The interpreter could understand the question, but was not able to arrive at an answer. For example, because a requested operation is not supported.
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.