Google Cloud Dialogflow Cx V3 Client - Class SafetySettings (0.3.4)

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 \ V3

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ banned_phrases
array< Google\Cloud\Dialogflow\Cx\V3\SafetySettings\Phrase >

Banned phrases for generated text.

getBannedPhrases

Banned phrases for generated text.

Returns
Type
Description

setBannedPhrases

Banned phrases for generated text.

Parameter
Name
Description
Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: