Reference documentation and code samples for the Google Cloud Dialogflow V2 Client class SensitivityLevel.
Enum for user-configurable sensitivity levels.
Protobuf type google.cloud.dialogflow.v2.RaiSettings.RaiCategoryConfig.SensitivityLevel
Namespace
Google \ Cloud \ Dialogflow \ V2 \ RaiSettings \ RaiCategoryConfigMethods
static::name
| Parameter | |
|---|---|
| Name | Description |
value |
mixed
|
static::value
| Parameter | |
|---|---|
| Name | Description |
name |
mixed
|
Constants
SENSITIVITY_LEVEL_UNSPECIFIED
Value: 0Default value.
If unspecified, the default behavior is:
- DANGEROUS_CONTENT: BLOCK_FEW
- SEXUALLY_EXPLICIT: BLOCK_SOME
- HARASSMENT: BLOCK_SOME
- HATE_SPEECH: BLOCK_SOME
Generated from protobuf enum SENSITIVITY_LEVEL_UNSPECIFIED = 0;
BLOCK_MOST
Value: 1Block most potentially sensitive responses.
Generated from protobuf enum BLOCK_MOST = 1;
BLOCK_SOME
Value: 2Block some potentially sensitive responses.
Generated from protobuf enum BLOCK_SOME = 2;
BLOCK_FEW
Value: 3Block a few potentially sensitive responses.
Generated from protobuf enum BLOCK_FEW = 3;
BLOCK_NONE
Value: 4No filtering for this category.
Generated from protobuf enum BLOCK_NONE = 4;