Google Cloud Dialogflow Cx V3 Client - Class GenerativeSettings (0.4.1)

Reference documentation and code samples for the Google Cloud Dialogflow Cx V3 Client class GenerativeSettings.

Settings for Generative AI.

Generated from protobuf message google.cloud.dialogflow.cx.v3.GenerativeSettings

Namespace

Google \ Cloud \ Dialogflow \ Cx \ V3

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ name
string

Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/generativeSettings .

↳ fallback_settings
↳ generative_safety_settings
Google\Cloud\Dialogflow\Cx\V3\SafetySettings

Settings for Generative Safety.

↳ knowledge_connector_settings
↳ language_code
string

Language for this settings.

getName

Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/generativeSettings .

Returns
Type
Description
string

setName

Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/generativeSettings .

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getFallbackSettings

Settings for Generative Fallback.

hasFallbackSettings

clearFallbackSettings

setFallbackSettings

Settings for Generative Fallback.

Returns
Type
Description
$this

getGenerativeSafetySettings

Settings for Generative Safety.

Returns
Type
Description

hasGenerativeSafetySettings

clearGenerativeSafetySettings

setGenerativeSafetySettings

Settings for Generative Safety.

Parameter
Name
Description
Returns
Type
Description
$this

getKnowledgeConnectorSettings

Settings for knowledge connector.

hasKnowledgeConnectorSettings

clearKnowledgeConnectorSettings

setKnowledgeConnectorSettings

Settings for knowledge connector.

Returns
Type
Description
$this

getLanguageCode

Language for this settings.

Returns
Type
Description
string

setLanguageCode

Language for this settings.

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