Reference documentation and code samples for the Google Cloud Dialogflow Cx V3 Client class SafetySettings.
Settings for Generative Safety.
Generated from protobuf message google.cloud.dialogflow.cx.v3.SafetySettings
Namespace
Google \ Cloud \ Dialogflow \ Cx \ V3Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ default_banned_phrase_match_strategy
int
Optional. Default phrase match strategy for banned phrases.
↳ banned_phrases
↳ rai_settings
↳ default_rai_settings
SafetySettings\RaiSettings
Optional. Immutable. Default RAI settings to be annotated on the agent, so that users will be able to restore their RAI configurations to the default settings. Read-only field for the API proto only.
↳ prompt_security_settings
getDefaultBannedPhraseMatchStrategy
Optional. Default phrase match strategy for banned phrases.
setDefaultBannedPhraseMatchStrategy
Optional. Default phrase match strategy for banned phrases.
$this
getBannedPhrases
Banned phrases for generated text.
setBannedPhrases
Banned phrases for generated text.
$this
getRaiSettings
Optional. Settings for Responsible AI checks.
hasRaiSettings
clearRaiSettings
setRaiSettings
Optional. Settings for Responsible AI checks.
$this
getDefaultRaiSettings
Optional. Immutable. Default RAI settings to be annotated on the agent, so that users will be able to restore their RAI configurations to the default settings. Read-only field for the API proto only.
hasDefaultRaiSettings
clearDefaultRaiSettings
setDefaultRaiSettings
Optional. Immutable. Default RAI settings to be annotated on the agent, so that users will be able to restore their RAI configurations to the default settings. Read-only field for the API proto only.
$this
getPromptSecuritySettings
Optional. Settings for prompt security checks.
hasPromptSecuritySettings
clearPromptSecuritySettings
setPromptSecuritySettings
Optional. Settings for prompt security checks.
$this

