Reference documentation and code samples for the Google Cloud Dialogflow Cx V3 Client class SafetyCategory.
RAI categories to configure.
Protobuf type google.cloud.dialogflow.cx.v3.SafetySettings.RaiSettings.SafetyCategory
Namespace
Google \ Cloud \ Dialogflow \ Cx \ V3 \ SafetySettings \ RaiSettingsMethods
static::name
| Parameter | |
|---|---|
| Name | Description |
value |
mixed
|
static::value
| Parameter | |
|---|---|
| Name | Description |
name |
mixed
|
Constants
SAFETY_CATEGORY_UNSPECIFIED
Value: 0Unspecified.
Generated from protobuf enum SAFETY_CATEGORY_UNSPECIFIED = 0;
DANGEROUS_CONTENT
Value: 1Dangerous content.
Generated from protobuf enum DANGEROUS_CONTENT = 1;
HATE_SPEECH
Value: 2Hate speech.
Generated from protobuf enum HATE_SPEECH = 2;
HARASSMENT
Value: 3Harassment.
Generated from protobuf enum HARASSMENT = 3;
SEXUALLY_EXPLICIT_CONTENT
Value: 4Sexually explicit content.
Generated from protobuf enum SEXUALLY_EXPLICIT_CONTENT = 4;