Google Cloud Discovery Engine V1 Client - Class Type (1.2.0)

Reference documentation and code samples for the Google Cloud Discovery Engine V1 Client class Type.

Query classification types.

Protobuf type google.cloud.discoveryengine.v1.Answer.QueryUnderstandingInfo.QueryClassificationInfo.Type

Namespace

Google \ Cloud \ DiscoveryEngine \ V1 \ Answer \ QueryUnderstandingInfo \ QueryClassificationInfo

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

TYPE_UNSPECIFIED

Value: 0

Unspecified query classification type.

Generated from protobuf enum TYPE_UNSPECIFIED = 0;

ADVERSARIAL_QUERY

Value: 1

Adversarial query classification type.

Generated from protobuf enum ADVERSARIAL_QUERY = 1;

NON_ANSWER_SEEKING_QUERY

Value: 2

Non-answer-seeking query classification type, for chit chat.

Generated from protobuf enum NON_ANSWER_SEEKING_QUERY = 2;

JAIL_BREAKING_QUERY

Value: 3

Jail-breaking query classification type.

Generated from protobuf enum JAIL_BREAKING_QUERY = 3;

NON_ANSWER_SEEKING_QUERY_V2

Value: 4

Non-answer-seeking query classification type, for no clear intent.

Generated from protobuf enum NON_ANSWER_SEEKING_QUERY_V2 = 4;