agents_generative_settings
Creates, updates, deletes, gets or lists an agents_generative_settings resource.
Overview
| Name | agents_generative_settings |
| Type | Resource |
| Id | google.dialogflow.agents_generative_settings |
Fields
The following fields are returned by SELECT queries:
- projects_locations_agents_get_generative_settings
| Name | Datatype | Description |
|---|---|---|
name | string | |
fallbackSettings | object | (id: GoogleCloudDialogflowCxV3GenerativeSettingsFallbackSettings) |
generativeSafetySettings | object | (id: GoogleCloudDialogflowCxV3SafetySettings) |
knowledgeConnectorSettings | object | (id: GoogleCloudDialogflowCxV3GenerativeSettingsKnowledgeConnectorSettings) |
languageCode | string | |
llmModelSettings | object | (id: GoogleCloudDialogflowCxV3LlmModelSettings) |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
projects_locations_agents_get_generative_settings | select | projectsId, locationsId, agentsId | languageCode | |
projects_locations_agents_update_generative_settings | update | projectsId, locationsId, agentsId | updateMask |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
agentsId | string | |
locationsId | string | |
projectsId | string | |
languageCode | string | |
updateMask | string (google-fieldmask) |
SELECT examples
- projects_locations_agents_get_generative_settings
Successful response
SELECT
name,
fallbackSettings,
generativeSafetySettings,
knowledgeConnectorSettings,
languageCode,
llmModelSettings
FROM google.dialogflow.agents_generative_settings
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND agentsId = '{{ agentsId }}' -- required
AND languageCode = '{{ languageCode }}'
;
UPDATE examples
- projects_locations_agents_update_generative_settings
No description available.
UPDATE google.dialogflow.agents_generative_settings
SET
data__knowledgeConnectorSettings = '{{ knowledgeConnectorSettings }}',
data__generativeSafetySettings = '{{ generativeSafetySettings }}',
data__fallbackSettings = '{{ fallbackSettings }}',
data__llmModelSettings = '{{ llmModelSettings }}',
data__languageCode = '{{ languageCode }}',
data__name = '{{ name }}'
WHERE
projectsId = '{{ projectsId }}' --required
AND locationsId = '{{ locationsId }}' --required
AND agentsId = '{{ agentsId }}' --required
AND updateMask = '{{ updateMask}}'
RETURNING
name,
fallbackSettings,
generativeSafetySettings,
knowledgeConnectorSettings,
languageCode,
llmModelSettings;