Reference documentation and code samples for the Google Cloud Dialogflow V2 Client class DatastoreResponseReason.
Response reason from datastore which indicates data serving status or answer quality degradation.
Protobuf type google.cloud.dialogflow.v2.DatastoreResponseReason
Namespace
Google \ Cloud \ Dialogflow \ V2Methods
static::name
value
mixed
static::value
name
mixed
Constants
DATASTORE_RESPONSE_REASON_UNSPECIFIED
Value: 0
Default value.
Generated from protobuf enum DATASTORE_RESPONSE_REASON_UNSPECIFIED = 0;
NONE
Value: 1
No specific response reason from datastore.
Generated from protobuf enum NONE = 1;
SEARCH_OUT_OF_QUOTA
Value: 2
Search is blocked due to out of quota.
Generated from protobuf enum SEARCH_OUT_OF_QUOTA = 2;
SEARCH_EMPTY_RESULTS
Value: 3
Search returns empty results.
Generated from protobuf enum SEARCH_EMPTY_RESULTS = 3;
ANSWER_GENERATION_GEN_AI_DISABLED
Value: 4
Generative AI is disabled.
Generated from protobuf enum ANSWER_GENERATION_GEN_AI_DISABLED = 4;
ANSWER_GENERATION_OUT_OF_QUOTA
Value: 5
Answer generation is blocked due to out of quota.
Generated from protobuf enum ANSWER_GENERATION_OUT_OF_QUOTA = 5;
ANSWER_GENERATION_ERROR
Value: 6
Answer generation encounters an error.
Generated from protobuf enum ANSWER_GENERATION_ERROR = 6;
ANSWER_GENERATION_NOT_ENOUGH_INFO
Value: 7
Answer generation does not have enough information to generate answer.
Generated from protobuf enum ANSWER_GENERATION_NOT_ENOUGH_INFO = 7;
ANSWER_GENERATION_RAI_FAILED
Value: 8
Answer generation is blocked by RAI (Responsible AI) failure.
Generated from protobuf enum ANSWER_GENERATION_RAI_FAILED = 8;
ANSWER_GENERATION_NOT_GROUNDED
Value: 9
Answer generation is not grounded on reliable sources.
Generated from protobuf enum ANSWER_GENERATION_NOT_GROUNDED = 9;

