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 \ V3Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ name |
string
Format: |
↳ fallback_settings |
GenerativeSettings\FallbackSettings
Settings for Generative Fallback. |
↳ generative_safety_settings |
SafetySettings
Settings for Generative Safety. |
↳ knowledge_connector_settings |
GenerativeSettings\KnowledgeConnectorSettings
Settings for knowledge connector. |
↳ language_code |
string
Language for this settings. |
getName
Format:
projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/generativeSettings
.
Returns | |
---|---|
Type | Description |
string |
setName
Format:
projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/generativeSettings
.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getFallbackSettings
Settings for Generative Fallback.
Returns | |
---|---|
Type | Description |
GenerativeSettings\FallbackSettings|null |
hasFallbackSettings
clearFallbackSettings
setFallbackSettings
Settings for Generative Fallback.
Parameter | |
---|---|
Name | Description |
var |
GenerativeSettings\FallbackSettings
|
Returns | |
---|---|
Type | Description |
$this |
getGenerativeSafetySettings
Settings for Generative Safety.
Returns | |
---|---|
Type | Description |
SafetySettings|null |
hasGenerativeSafetySettings
clearGenerativeSafetySettings
setGenerativeSafetySettings
Settings for Generative Safety.
Parameter | |
---|---|
Name | Description |
var |
SafetySettings
|
Returns | |
---|---|
Type | Description |
$this |
getKnowledgeConnectorSettings
Settings for knowledge connector.
Returns | |
---|---|
Type | Description |
GenerativeSettings\KnowledgeConnectorSettings|null |
hasKnowledgeConnectorSettings
clearKnowledgeConnectorSettings
setKnowledgeConnectorSettings
Settings for knowledge connector.
Parameter | |
---|---|
Name | Description |
var |
GenerativeSettings\KnowledgeConnectorSettings
|
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 |