Reference documentation and code samples for the Google Cloud Dialogflow Cx V3 Client class SafetyFilterLevel.
Sensitivity level for RAI categories.
Protobuf type google.cloud.dialogflow.cx.v3.SafetySettings.RaiSettings.SafetyFilterLevel
Namespace
Google \ Cloud \ Dialogflow \ Cx \ V3 \ SafetySettings \ RaiSettingsMethods
static::name
| Parameter | |
|---|---|
| Name | Description |
value |
mixed
|
static::value
| Parameter | |
|---|---|
| Name | Description |
name |
mixed
|
Constants
SAFETY_FILTER_LEVEL_UNSPECIFIED
Value: 0Unspecified -- uses default sensitivity levels.
Generated from protobuf enum SAFETY_FILTER_LEVEL_UNSPECIFIED = 0;
BLOCK_NONE
Value: 1Block no text -- effectively disables the category.
Generated from protobuf enum BLOCK_NONE = 1;
BLOCK_FEW
Value: 2Block a few suspicious texts.
Generated from protobuf enum BLOCK_FEW = 2;
BLOCK_SOME
Value: 3Block some suspicious texts.
Generated from protobuf enum BLOCK_SOME = 3;
BLOCK_MOST
Value: 4Block most suspicious texts.
Generated from protobuf enum BLOCK_MOST = 4;