Class QueryClassificationSpec (0.11.11)

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

Query classification specification.

Attribute

Name Description
types MutableSequence[google.cloud.discoveryengine_v1beta.types.AnswerQueryRequest.QueryUnderstandingSpec.QueryClassificationSpec.Type]
Enabled query classification types.

Classes

Type

Type(value)

Query classification types.

Values: TYPE_UNSPECIFIED (0): Unspecified query classification type. ADVERSARIAL_QUERY (1): Adversarial query classification type. NON_ANSWER_SEEKING_QUERY (2): Non-answer-seeking query classification type.