Agent
|
|||||
|
|
Creates/updates the specified agent
Authorization
To use this building block you will have to grant access to at least one of the following scopes:
- View and manage your data across Google Cloud Platform services
- View, manage and query your Dialogflow agents
Input
This building block consumes 14 input parameters
Name | Format | Description |
---|---|---|
parent Required |
STRING |
Required. The project of this agent.
Format: |
updateMask |
ANY |
Optional. The mask to control which fields get updated |
description |
STRING |
Optional. The description of this agent. The maximum length is 500 characters. If exceeded, the request is rejected |
parent |
STRING |
Required. The project of this agent.
Format: |
supportedLanguageCodes[] |
STRING |
|
avatarUri |
STRING |
Optional. The URI of the agent's avatar. Avatars are used throughout the Dialogflow console and in the self-hosted Web Demo integration |
defaultLanguageCode |
STRING |
Required. The default language of the agent as a language tag. See
Language
Support
for a list of the currently supported language codes. This field cannot be
set by the |
tier |
ENUMERATION |
Optional. The agent tier. If not specified, TIER_STANDARD is assumed |
displayName |
STRING |
Required. The name of this agent |
matchMode |
ENUMERATION |
Optional. Determines how intents are detected from user queries |
enableLogging |
BOOLEAN |
Optional. Determines whether this agent should log conversation queries |
apiVersion |
ENUMERATION |
Optional. API version displayed in Dialogflow console. If not specified, V2 API is assumed. Clients are free to query different service endpoints for different API versions. However, bots connectors and webhook calls will follow the specified API version |
classificationThreshold |
FLOAT |
Optional. To filter out false positive results and still get variety in matched natural language inputs for your agent, you can tune the machine learning classification threshold. If the returned score value is less than the threshold value, then a fallback intent will be triggered or, if there are no fallback intents defined, no intent will be triggered. The score values range from 0.0 (completely uncertain) to 1.0 (completely certain). If set to 0.0, the default of 0.3 is used |
timeZone |
STRING |
Required. The time zone of this agent from the time zone database, e.g., America/New_York, Europe/Paris |
= Parameter name
= Format
parent STRING Required Required. The project of this agent.
Format: |
updateMask ANY Optional. The mask to control which fields get updated |
description STRING Optional. The description of this agent. The maximum length is 500 characters. If exceeded, the request is rejected |
parent STRING Required. The project of this agent.
Format: |
supportedLanguageCodes[] STRING |
avatarUri STRING Optional. The URI of the agent's avatar. Avatars are used throughout the Dialogflow console and in the self-hosted Web Demo integration |
defaultLanguageCode STRING Required. The default language of the agent as a language tag. See
Language
Support
for a list of the currently supported language codes. This field cannot be
set by the |
tier ENUMERATION Optional. The agent tier. If not specified, TIER_STANDARD is assumed |
displayName STRING Required. The name of this agent |
matchMode ENUMERATION Optional. Determines how intents are detected from user queries |
enableLogging BOOLEAN Optional. Determines whether this agent should log conversation queries |
apiVersion ENUMERATION Optional. API version displayed in Dialogflow console. If not specified, V2 API is assumed. Clients are free to query different service endpoints for different API versions. However, bots connectors and webhook calls will follow the specified API version |
classificationThreshold FLOAT Optional. To filter out false positive results and still get variety in matched natural language inputs for your agent, you can tune the machine learning classification threshold. If the returned score value is less than the threshold value, then a fallback intent will be triggered or, if there are no fallback intents defined, no intent will be triggered. The score values range from 0.0 (completely uncertain) to 1.0 (completely certain). If set to 0.0, the default of 0.3 is used |
timeZone STRING Required. The time zone of this agent from the time zone database, e.g., America/New_York, Europe/Paris |
Output
This building block provides 12 output parameters
Name | Format | Description |
---|---|---|
description |
STRING |
Optional. The description of this agent. The maximum length is 500 characters. If exceeded, the request is rejected |
parent |
STRING |
Required. The project of this agent.
Format: |
supportedLanguageCodes[] |
STRING |
|
avatarUri |
STRING |
Optional. The URI of the agent's avatar. Avatars are used throughout the Dialogflow console and in the self-hosted Web Demo integration |
defaultLanguageCode |
STRING |
Required. The default language of the agent as a language tag. See
Language
Support
for a list of the currently supported language codes. This field cannot be
set by the |
tier |
ENUMERATION |
Optional. The agent tier. If not specified, TIER_STANDARD is assumed |
displayName |
STRING |
Required. The name of this agent |
matchMode |
ENUMERATION |
Optional. Determines how intents are detected from user queries |
enableLogging |
BOOLEAN |
Optional. Determines whether this agent should log conversation queries |
apiVersion |
ENUMERATION |
Optional. API version displayed in Dialogflow console. If not specified, V2 API is assumed. Clients are free to query different service endpoints for different API versions. However, bots connectors and webhook calls will follow the specified API version |
classificationThreshold |
FLOAT |
Optional. To filter out false positive results and still get variety in matched natural language inputs for your agent, you can tune the machine learning classification threshold. If the returned score value is less than the threshold value, then a fallback intent will be triggered or, if there are no fallback intents defined, no intent will be triggered. The score values range from 0.0 (completely uncertain) to 1.0 (completely certain). If set to 0.0, the default of 0.3 is used |
timeZone |
STRING |
Required. The time zone of this agent from the time zone database, e.g., America/New_York, Europe/Paris |
= Parameter name
= Format
description STRING Optional. The description of this agent. The maximum length is 500 characters. If exceeded, the request is rejected |
parent STRING Required. The project of this agent.
Format: |
supportedLanguageCodes[] STRING |
avatarUri STRING Optional. The URI of the agent's avatar. Avatars are used throughout the Dialogflow console and in the self-hosted Web Demo integration |
defaultLanguageCode STRING Required. The default language of the agent as a language tag. See
Language
Support
for a list of the currently supported language codes. This field cannot be
set by the |
tier ENUMERATION Optional. The agent tier. If not specified, TIER_STANDARD is assumed |
displayName STRING Required. The name of this agent |
matchMode ENUMERATION Optional. Determines how intents are detected from user queries |
enableLogging BOOLEAN Optional. Determines whether this agent should log conversation queries |
apiVersion ENUMERATION Optional. API version displayed in Dialogflow console. If not specified, V2 API is assumed. Clients are free to query different service endpoints for different API versions. However, bots connectors and webhook calls will follow the specified API version |
classificationThreshold FLOAT Optional. To filter out false positive results and still get variety in matched natural language inputs for your agent, you can tune the machine learning classification threshold. If the returned score value is less than the threshold value, then a fallback intent will be triggered or, if there are no fallback intents defined, no intent will be triggered. The score values range from 0.0 (completely uncertain) to 1.0 (completely certain). If set to 0.0, the default of 0.3 is used |
timeZone STRING Required. The time zone of this agent from the time zone database, e.g., America/New_York, Europe/Paris |