Reference documentation and code samples for the Google Cloud Model Armor V1 Client class PiAndJailbreakFilterEnforcement.
Option to specify the state of Prompt Injection and Jailbreak filter (ENABLED/DISABLED).
Protobuf type google.cloud.modelarmor.v1.PiAndJailbreakFilterSettings.PiAndJailbreakFilterEnforcement
Namespace
Google \ Cloud \ ModelArmor \ V1 \ PiAndJailbreakFilterSettingsMethods
static::name
Parameter | |
---|---|
Name | Description |
value |
mixed
|
static::value
Parameter | |
---|---|
Name | Description |
name |
mixed
|
Constants
PI_AND_JAILBREAK_FILTER_ENFORCEMENT_UNSPECIFIED
Value: 0
Same as Disabled
Generated from protobuf enum PI_AND_JAILBREAK_FILTER_ENFORCEMENT_UNSPECIFIED = 0;
ENABLED
Value: 1
Enabled
Generated from protobuf enum ENABLED = 1;
DISABLED
Value: 2
Enabled
Generated from protobuf enum DISABLED = 2;