Skip to content

Commit

Permalink
feat(dialogflow): update the api
Browse files Browse the repository at this point in the history
#### dialogflow:v2

The following keys were added:
- schemas.GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionFeatureConfig.properties.enableConversationAugmentedQuery.type (Total Keys: 1)
- schemas.GoogleCloudDialogflowV2SearchKnowledgeResponse.properties.rewrittenQuery.type (Total Keys: 1)

#### dialogflow:v2beta1

The following keys were added:
- schemas.GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionFeatureConfig.properties.enableConversationAugmentedQuery.type (Total Keys: 1)
- schemas.GoogleCloudDialogflowV2beta1SearchKnowledgeResponse.properties.rewrittenQuery.type (Total Keys: 1)

#### dialogflow:v3

The following keys were added:
- schemas.GoogleCloudDialogflowCxV3GenerativeSettingsKnowledgeConnectorSettings.properties.disableDataStoreFallback.type (Total Keys: 1)

#### dialogflow:v3beta1

The following keys were added:
- schemas.GoogleCloudDialogflowCxV3beta1GenerativeSettingsKnowledgeConnectorSettings.properties.disableDataStoreFallback.type (Total Keys: 1)
  • Loading branch information
yoshi-automation committed Jan 4, 2024
1 parent 24edb0a commit 41731ac
Show file tree
Hide file tree
Showing 22 changed files with 146 additions and 48 deletions.
25 changes: 19 additions & 6 deletions docs/dyn/dialogflow_v2.projects.conversationProfiles.html

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ <h3>Method Details</h3>
&quot;answerType&quot;: &quot;A String&quot;, # The type of the answer.
},
],
&quot;rewrittenQuery&quot;: &quot;A String&quot;, # The rewritten query used to search knowledge.
}</pre>
</div>

Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ <h3>Method Details</h3>
&quot;answerType&quot;: &quot;A String&quot;, # The type of the answer.
},
],
&quot;rewrittenQuery&quot;: &quot;A String&quot;, # The rewritten query used to search knowledge.
}</pre>
</div>

Expand Down
5 changes: 4 additions & 1 deletion docs/dyn/dialogflow_v2.projects.locations.suggestions.html
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ <h3>Method Details</h3>
&quot;conversationProfile&quot;: { # Defines the services to connect to incoming Dialogflow conversations. # Required. A ConversationProfile containing information required for Summary generation. Required fields: {language_code, security_settings} Optional fields: {agent_assistant_config}
&quot;automatedAgentConfig&quot;: { # Defines the Automated Agent to connect to a conversation. # Configuration for an automated agent to use with this profile.
&quot;agent&quot;: &quot;A String&quot;, # Required. ID of the Dialogflow agent environment to use. This project needs to either be the same project as the conversation or you need to grant `service-@gcp-sa-dialogflow.iam.gserviceaccount.com` the `Dialogflow API Service Agent` role in this project. - For ES agents, use format: `projects//locations//agent/environments/`. If environment is not specified, the default `draft` environment is used. Refer to [DetectIntentRequest](/dialogflow/docs/reference/rpc/google.cloud.dialogflow.v2#google.cloud.dialogflow.v2.DetectIntentRequest) for more details. - For CX agents, use format `projects//locations//agents//environments/`. If environment is not specified, the default `draft` environment is used.
&quot;sessionTtl&quot;: &quot;A String&quot;, # Optional. Sets Dialogflow CX session life time. By default, a Dialogflow CX session remains active and its data is stored for 30 minutes after the last request is sent for the session. This value should be no longer than 1 day.
&quot;sessionTtl&quot;: &quot;A String&quot;, # Optional. Configure lifetime of the Dialogflow session. By default, a Dialogflow CX session remains active and its data is stored for 30 minutes after the last request is sent for the session. This value should be no longer than 1 day.
},
&quot;createTime&quot;: &quot;A String&quot;, # Output only. Create time of the conversation profile.
&quot;displayName&quot;: &quot;A String&quot;, # Required. Human readable name for this profile. Max length 1024 bytes.
Expand All @@ -118,6 +118,7 @@ <h3>Method Details</h3>
&quot;recentSentencesCount&quot;: 42, # Number of recent non-small-talk sentences to use as context for article and FAQ suggestion
},
&quot;disableAgentQueryLogging&quot;: True or False, # Optional. Disable the logging of search queries sent by human agents. It can prevent those queries from being stored at answer records. Supported features: KNOWLEDGE_SEARCH.
&quot;enableConversationAugmentedQuery&quot;: True or False, # Optional. Enable including conversation context during query answer generation. Supported features: KNOWLEDGE_SEARCH.
&quot;enableEventBasedSuggestion&quot;: True or False, # Automatically iterates all participants and tries to compile suggestions. Supported features: ARTICLE_SUGGESTION, FAQ, DIALOGFLOW_ASSIST, KNOWLEDGE_ASSIST.
&quot;queryConfig&quot;: { # Config for suggestion query. # Configs of query.
&quot;confidenceThreshold&quot;: 3.14, # Confidence threshold of query result. Agent Assist gives each suggestion a score in the range [0.0, 1.0], based on the relevance between the suggestion and the current conversation context. A score of 0.0 has no relevance, while a score of 1.0 has high relevance. Only suggestions with a score greater than or equal to the value of this field are included in the results. For a baseline model (the default), the recommended value is in the range [0.05, 0.1]. For a custom model, there is no recommended value. Tune this value by starting from a very low value and slowly increasing until you have desired results. If this field is not set, it defaults to 0.0, which means that all suggestions are returned. Supported features: ARTICLE_SUGGESTION, FAQ, SMART_REPLY, SMART_COMPOSE, KNOWLEDGE_SEARCH, KNOWLEDGE_ASSIST, ENTITY_EXTRACTION.
Expand Down Expand Up @@ -171,6 +172,7 @@ <h3>Method Details</h3>
&quot;recentSentencesCount&quot;: 42, # Number of recent non-small-talk sentences to use as context for article and FAQ suggestion
},
&quot;disableAgentQueryLogging&quot;: True or False, # Optional. Disable the logging of search queries sent by human agents. It can prevent those queries from being stored at answer records. Supported features: KNOWLEDGE_SEARCH.
&quot;enableConversationAugmentedQuery&quot;: True or False, # Optional. Enable including conversation context during query answer generation. Supported features: KNOWLEDGE_SEARCH.
&quot;enableEventBasedSuggestion&quot;: True or False, # Automatically iterates all participants and tries to compile suggestions. Supported features: ARTICLE_SUGGESTION, FAQ, DIALOGFLOW_ASSIST, KNOWLEDGE_ASSIST.
&quot;queryConfig&quot;: { # Config for suggestion query. # Configs of query.
&quot;confidenceThreshold&quot;: 3.14, # Confidence threshold of query result. Agent Assist gives each suggestion a score in the range [0.0, 1.0], based on the relevance between the suggestion and the current conversation context. A score of 0.0 has no relevance, while a score of 1.0 has high relevance. Only suggestions with a score greater than or equal to the value of this field are included in the results. For a baseline model (the default), the recommended value is in the range [0.05, 0.1]. For a custom model, there is no recommended value. Tune this value by starting from a very low value and slowly increasing until you have desired results. If this field is not set, it defaults to 0.0, which means that all suggestions are returned. Supported features: ARTICLE_SUGGESTION, FAQ, SMART_REPLY, SMART_COMPOSE, KNOWLEDGE_SEARCH, KNOWLEDGE_ASSIST, ENTITY_EXTRACTION.
Expand Down Expand Up @@ -365,6 +367,7 @@ <h3>Method Details</h3>
&quot;answerType&quot;: &quot;A String&quot;, # The type of the answer.
},
],
&quot;rewrittenQuery&quot;: &quot;A String&quot;, # The rewritten query used to search knowledge.
}</pre>
</div>

Expand Down
5 changes: 4 additions & 1 deletion docs/dyn/dialogflow_v2.projects.suggestions.html
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ <h3>Method Details</h3>
&quot;conversationProfile&quot;: { # Defines the services to connect to incoming Dialogflow conversations. # Required. A ConversationProfile containing information required for Summary generation. Required fields: {language_code, security_settings} Optional fields: {agent_assistant_config}
&quot;automatedAgentConfig&quot;: { # Defines the Automated Agent to connect to a conversation. # Configuration for an automated agent to use with this profile.
&quot;agent&quot;: &quot;A String&quot;, # Required. ID of the Dialogflow agent environment to use. This project needs to either be the same project as the conversation or you need to grant `service-@gcp-sa-dialogflow.iam.gserviceaccount.com` the `Dialogflow API Service Agent` role in this project. - For ES agents, use format: `projects//locations//agent/environments/`. If environment is not specified, the default `draft` environment is used. Refer to [DetectIntentRequest](/dialogflow/docs/reference/rpc/google.cloud.dialogflow.v2#google.cloud.dialogflow.v2.DetectIntentRequest) for more details. - For CX agents, use format `projects//locations//agents//environments/`. If environment is not specified, the default `draft` environment is used.
&quot;sessionTtl&quot;: &quot;A String&quot;, # Optional. Sets Dialogflow CX session life time. By default, a Dialogflow CX session remains active and its data is stored for 30 minutes after the last request is sent for the session. This value should be no longer than 1 day.
&quot;sessionTtl&quot;: &quot;A String&quot;, # Optional. Configure lifetime of the Dialogflow session. By default, a Dialogflow CX session remains active and its data is stored for 30 minutes after the last request is sent for the session. This value should be no longer than 1 day.
},
&quot;createTime&quot;: &quot;A String&quot;, # Output only. Create time of the conversation profile.
&quot;displayName&quot;: &quot;A String&quot;, # Required. Human readable name for this profile. Max length 1024 bytes.
Expand All @@ -118,6 +118,7 @@ <h3>Method Details</h3>
&quot;recentSentencesCount&quot;: 42, # Number of recent non-small-talk sentences to use as context for article and FAQ suggestion
},
&quot;disableAgentQueryLogging&quot;: True or False, # Optional. Disable the logging of search queries sent by human agents. It can prevent those queries from being stored at answer records. Supported features: KNOWLEDGE_SEARCH.
&quot;enableConversationAugmentedQuery&quot;: True or False, # Optional. Enable including conversation context during query answer generation. Supported features: KNOWLEDGE_SEARCH.
&quot;enableEventBasedSuggestion&quot;: True or False, # Automatically iterates all participants and tries to compile suggestions. Supported features: ARTICLE_SUGGESTION, FAQ, DIALOGFLOW_ASSIST, KNOWLEDGE_ASSIST.
&quot;queryConfig&quot;: { # Config for suggestion query. # Configs of query.
&quot;confidenceThreshold&quot;: 3.14, # Confidence threshold of query result. Agent Assist gives each suggestion a score in the range [0.0, 1.0], based on the relevance between the suggestion and the current conversation context. A score of 0.0 has no relevance, while a score of 1.0 has high relevance. Only suggestions with a score greater than or equal to the value of this field are included in the results. For a baseline model (the default), the recommended value is in the range [0.05, 0.1]. For a custom model, there is no recommended value. Tune this value by starting from a very low value and slowly increasing until you have desired results. If this field is not set, it defaults to 0.0, which means that all suggestions are returned. Supported features: ARTICLE_SUGGESTION, FAQ, SMART_REPLY, SMART_COMPOSE, KNOWLEDGE_SEARCH, KNOWLEDGE_ASSIST, ENTITY_EXTRACTION.
Expand Down Expand Up @@ -171,6 +172,7 @@ <h3>Method Details</h3>
&quot;recentSentencesCount&quot;: 42, # Number of recent non-small-talk sentences to use as context for article and FAQ suggestion
},
&quot;disableAgentQueryLogging&quot;: True or False, # Optional. Disable the logging of search queries sent by human agents. It can prevent those queries from being stored at answer records. Supported features: KNOWLEDGE_SEARCH.
&quot;enableConversationAugmentedQuery&quot;: True or False, # Optional. Enable including conversation context during query answer generation. Supported features: KNOWLEDGE_SEARCH.
&quot;enableEventBasedSuggestion&quot;: True or False, # Automatically iterates all participants and tries to compile suggestions. Supported features: ARTICLE_SUGGESTION, FAQ, DIALOGFLOW_ASSIST, KNOWLEDGE_ASSIST.
&quot;queryConfig&quot;: { # Config for suggestion query. # Configs of query.
&quot;confidenceThreshold&quot;: 3.14, # Confidence threshold of query result. Agent Assist gives each suggestion a score in the range [0.0, 1.0], based on the relevance between the suggestion and the current conversation context. A score of 0.0 has no relevance, while a score of 1.0 has high relevance. Only suggestions with a score greater than or equal to the value of this field are included in the results. For a baseline model (the default), the recommended value is in the range [0.05, 0.1]. For a custom model, there is no recommended value. Tune this value by starting from a very low value and slowly increasing until you have desired results. If this field is not set, it defaults to 0.0, which means that all suggestions are returned. Supported features: ARTICLE_SUGGESTION, FAQ, SMART_REPLY, SMART_COMPOSE, KNOWLEDGE_SEARCH, KNOWLEDGE_ASSIST, ENTITY_EXTRACTION.
Expand Down Expand Up @@ -365,6 +367,7 @@ <h3>Method Details</h3>
&quot;answerType&quot;: &quot;A String&quot;, # The type of the answer.
},
],
&quot;rewrittenQuery&quot;: &quot;A String&quot;, # The rewritten query used to search knowledge.
}</pre>
</div>

Expand Down

0 comments on commit 41731ac

Please sign in to comment.