Reference documentation and code samples for the Google Cloud Dialogflow V2 Client class RaiCategory.
Enum for RAI category.
Protobuf type google.cloud.dialogflow.v2.RaiSettings.RaiCategoryConfig.RaiCategory
Namespace
Google \ Cloud \ Dialogflow \ V2 \ RaiSettings \ RaiCategoryConfigMethods
static::name
| Parameter | |
|---|---|
| Name | Description |
value |
mixed
|
static::value
| Parameter | |
|---|---|
| Name | Description |
name |
mixed
|
Constants
RAI_CATEGORY_UNSPECIFIED
Value: 0Default value.
Generated from protobuf enum RAI_CATEGORY_UNSPECIFIED = 0;
DANGEROUS_CONTENT
Value: 1Dangerous content.
Generated from protobuf enum DANGEROUS_CONTENT = 1;
SEXUALLY_EXPLICIT
Value: 2Sexually explicit content.
Generated from protobuf enum SEXUALLY_EXPLICIT = 2;
HARASSMENT
Value: 3Harassment content.
Generated from protobuf enum HARASSMENT = 3;
HATE_SPEECH
Value: 4Hate speech content.
Generated from protobuf enum HATE_SPEECH = 4;