Reference documentation and code samples for the Google Cloud Discovery Engine V1 Client class AnswerSkippedReason.
An enum for answer skipped reasons.
Protobuf type google.cloud.discoveryengine.v1.Answer.AnswerSkippedReason
Namespace
Google \ Cloud \ DiscoveryEngine \ V1 \ AnswerMethods
static::name
Parameter | |
---|---|
Name | Description |
value |
mixed
|
static::value
Parameter | |
---|---|
Name | Description |
name |
mixed
|
Constants
ANSWER_SKIPPED_REASON_UNSPECIFIED
Value: 0
Default value. The answer skipped reason is not specified.
Generated from protobuf enum ANSWER_SKIPPED_REASON_UNSPECIFIED = 0;
ADVERSARIAL_QUERY_IGNORED
Value: 1
The adversarial query ignored case.
Generated from protobuf enum ADVERSARIAL_QUERY_IGNORED = 1;
NON_ANSWER_SEEKING_QUERY_IGNORED
Value: 2
The non-answer seeking query ignored case.
Generated from protobuf enum NON_ANSWER_SEEKING_QUERY_IGNORED = 2;
OUT_OF_DOMAIN_QUERY_IGNORED
Value: 3
The out-of-domain query ignored case.
Google skips the answer if there are no high-relevance search results.
Generated from protobuf enum OUT_OF_DOMAIN_QUERY_IGNORED = 3;
POTENTIAL_POLICY_VIOLATION
Value: 4
The potential policy violation case.
Google skips the answer if there is a potential policy violation detected. This includes content that may be violent or toxic.
Generated from protobuf enum POTENTIAL_POLICY_VIOLATION = 4;
NO_RELEVANT_CONTENT
Value: 5
The no relevant content case.
Google skips the answer if there is no relevant content in the retrieved search results.
Generated from protobuf enum NO_RELEVANT_CONTENT = 5;
JAIL_BREAKING_QUERY_IGNORED
Value: 6
The jail-breaking query ignored case.
For example, "Reply in the tone of a competing company's CEO". Google skips the answer if the query is classified as a jail-breaking query.
Generated from protobuf enum JAIL_BREAKING_QUERY_IGNORED = 6;
CUSTOMER_POLICY_VIOLATION
Value: 7
The customer policy violation case.
Google skips the summary if there is a customer policy violation detected. The policy is defined by the customer.
Generated from protobuf enum CUSTOMER_POLICY_VIOLATION = 7;