agents_generative_settings
Creates, updates, deletes, gets or lists a agents_generative_settings
resource.
Overview
Name | agents_generative_settings |
Type | Resource |
Id | google.dialogflow.agents_generative_settings |
Fields
Name | Datatype | Description |
---|---|---|
name | string | Format: projects//locations//agents//generativeSettings . |
fallbackSettings | object | Settings for Generative Fallback. |
generativeSafetySettings | object | Settings for Generative Safety. |
knowledgeConnectorSettings | object | Settings for knowledge connector. These parameters are used for LLM prompt like "You are . You are a helpful and verbose at , . Your task is to help humans on ". |
languageCode | string | Language for this settings. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
projects_locations_agents_get_generative_settings | SELECT | agentsId, locationsId, projectsId | Gets the generative settings for the agent. |
projects_locations_agents_update_generative_settings | UPDATE | agentsId, locationsId, projectsId | Updates the generative settings for the agent. |
SELECT
examples
Gets the generative settings for the agent.
SELECT
name,
fallbackSettings,
generativeSafetySettings,
knowledgeConnectorSettings,
languageCode
FROM google.dialogflow.agents_generative_settings
WHERE agentsId = '{{ agentsId }}'
AND locationsId = '{{ locationsId }}'
AND projectsId = '{{ projectsId }}';
UPDATE
example
Updates a agents_generative_settings
resource.
/*+ update */
UPDATE google.dialogflow.agents_generative_settings
SET
name = '{{ name }}',
fallbackSettings = '{{ fallbackSettings }}',
generativeSafetySettings = '{{ generativeSafetySettings }}',
knowledgeConnectorSettings = '{{ knowledgeConnectorSettings }}',
languageCode = '{{ languageCode }}'
WHERE
agentsId = '{{ agentsId }}'
AND locationsId = '{{ locationsId }}'
AND projectsId = '{{ projectsId }}';