Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 55fe465

Browse files
committedFeb 25, 2025
feat(dialogflow): update the api
#### dialogflow:v2 The following keys were deleted: - resources.projects.resources.answerRecords.methods.list.parameters.filter.deprecated (Total Keys: 1) - resources.projects.resources.locations.resources.answerRecords.methods.list.parameters.filter.deprecated (Total Keys: 1) #### dialogflow:v2beta1 The following keys were deleted: - resources.projects.resources.answerRecords.methods.list.parameters.filter.deprecated (Total Keys: 1) - resources.projects.resources.locations.resources.answerRecords.methods.list.parameters.filter.deprecated (Total Keys: 1)
1 parent ce81144 commit 55fe465

File tree

29 files changed

+924
-131
lines changed

29 files changed

+924
-131
lines changed
 

‎docs/dyn/dialogflow_v2.projects.answerRecords.html

+4-4
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ <h3>Method Details</h3>
9898

9999
Args:
100100
parent: string, Required. The project to list all answer records for in reverse chronological order. Format: `projects//locations/`. (required)
101-
filter: string, Optional. Filters to restrict results to specific answer records. Marked deprecated as it hasn&#x27;t been, and isn&#x27;t currently, supported. For more information about filtering, see [API Filtering](https://aip.dev/160).
101+
filter: string, Optional. Filters to restrict results to specific answer records. The expression has the following syntax: [AND ] ... The following fields and operators are supported: * conversation_id with equals(=) operator Examples: * &quot;conversation_id=bar&quot; matches answer records in the projects/foo/locations/global/conversations/bar conversation (assuming the parent is projects/foo/locations/global). For more information about filtering, see [API Filtering](https://aip.dev/160).
102102
pageSize: integer, Optional. The maximum number of records to return in a single page. The server may return fewer records than this. If unspecified, we use 10. The maximum is 100.
103103
pageToken: string, Optional. The ListAnswerRecordsResponse.next_page_token value returned from a previous list request used to continue listing on the next page.
104104
x__xgafv: string, V1 error format.
@@ -603,7 +603,7 @@ <h3>Method Details</h3>
603603
&quot;answerFeedback&quot;: { # Represents feedback the customer has about the quality &amp; correctness of a certain answer in a conversation. # Required. The AnswerFeedback for this record. You can set this with AnswerRecords.UpdateAnswerRecord in order to give us feedback about this answer.
604604
&quot;agentAssistantDetailFeedback&quot;: { # Detail feedback of Agent Assist result. # Detail feedback of agent assist suggestions.
605605
&quot;answerRelevance&quot;: &quot;A String&quot;, # Optional. Whether or not the suggested answer is relevant. For example: * Query: &quot;Can I change my mailing address?&quot; * Suggested document says: &quot;Items must be returned/exchanged within 60 days of the purchase date.&quot; * answer_relevance: AnswerRelevance.IRRELEVANT
606-
&quot;documentCorrectness&quot;: &quot;A String&quot;, # Optional. Whether or not the information in the document is correct. For example: * Query: &quot;Can I return the package in 2 days once received?&quot; * Suggested document says: &quot;Items must be returned/exchanged within 60 days of the purchase date.&quot; * Ground truth: &quot;No return or exchange is allowed.&quot; * [document_correctness]: INCORRECT
606+
&quot;documentCorrectness&quot;: &quot;A String&quot;, # Optional. Whether or not the information in the document is correct. For example: * Query: &quot;Can I return the package in 2 days once received?&quot; * Suggested document says: &quot;Items must be returned/exchanged within 60 days of the purchase date.&quot; * Ground truth: &quot;No return or exchange is allowed.&quot; * document_correctness: INCORRECT
607607
&quot;documentEfficiency&quot;: &quot;A String&quot;, # Optional. Whether or not the suggested document is efficient. For example, if the document is poorly written, hard to understand, hard to use or too long to find useful information, document_efficiency is DocumentEfficiency.INEFFICIENT.
608608
&quot;knowledgeAssistFeedback&quot;: { # Feedback for knowledge assist. # Optional. Feedback for knowledge assist.
609609
&quot;answerCopied&quot;: True or False, # Whether the suggested answer was copied by the human agent. If the value is set to be true, AnswerFeedback.clicked will be updated to be true.
@@ -1154,7 +1154,7 @@ <h3>Method Details</h3>
11541154
&quot;answerFeedback&quot;: { # Represents feedback the customer has about the quality &amp; correctness of a certain answer in a conversation. # Required. The AnswerFeedback for this record. You can set this with AnswerRecords.UpdateAnswerRecord in order to give us feedback about this answer.
11551155
&quot;agentAssistantDetailFeedback&quot;: { # Detail feedback of Agent Assist result. # Detail feedback of agent assist suggestions.
11561156
&quot;answerRelevance&quot;: &quot;A String&quot;, # Optional. Whether or not the suggested answer is relevant. For example: * Query: &quot;Can I change my mailing address?&quot; * Suggested document says: &quot;Items must be returned/exchanged within 60 days of the purchase date.&quot; * answer_relevance: AnswerRelevance.IRRELEVANT
1157-
&quot;documentCorrectness&quot;: &quot;A String&quot;, # Optional. Whether or not the information in the document is correct. For example: * Query: &quot;Can I return the package in 2 days once received?&quot; * Suggested document says: &quot;Items must be returned/exchanged within 60 days of the purchase date.&quot; * Ground truth: &quot;No return or exchange is allowed.&quot; * [document_correctness]: INCORRECT
1157+
&quot;documentCorrectness&quot;: &quot;A String&quot;, # Optional. Whether or not the information in the document is correct. For example: * Query: &quot;Can I return the package in 2 days once received?&quot; * Suggested document says: &quot;Items must be returned/exchanged within 60 days of the purchase date.&quot; * Ground truth: &quot;No return or exchange is allowed.&quot; * document_correctness: INCORRECT
11581158
&quot;documentEfficiency&quot;: &quot;A String&quot;, # Optional. Whether or not the suggested document is efficient. For example, if the document is poorly written, hard to understand, hard to use or too long to find useful information, document_efficiency is DocumentEfficiency.INEFFICIENT.
11591159
&quot;knowledgeAssistFeedback&quot;: { # Feedback for knowledge assist. # Optional. Feedback for knowledge assist.
11601160
&quot;answerCopied&quot;: True or False, # Whether the suggested answer was copied by the human agent. If the value is set to be true, AnswerFeedback.clicked will be updated to be true.
@@ -1687,7 +1687,7 @@ <h3>Method Details</h3>
16871687
&quot;answerFeedback&quot;: { # Represents feedback the customer has about the quality &amp; correctness of a certain answer in a conversation. # Required. The AnswerFeedback for this record. You can set this with AnswerRecords.UpdateAnswerRecord in order to give us feedback about this answer.
16881688
&quot;agentAssistantDetailFeedback&quot;: { # Detail feedback of Agent Assist result. # Detail feedback of agent assist suggestions.
16891689
&quot;answerRelevance&quot;: &quot;A String&quot;, # Optional. Whether or not the suggested answer is relevant. For example: * Query: &quot;Can I change my mailing address?&quot; * Suggested document says: &quot;Items must be returned/exchanged within 60 days of the purchase date.&quot; * answer_relevance: AnswerRelevance.IRRELEVANT
1690-
&quot;documentCorrectness&quot;: &quot;A String&quot;, # Optional. Whether or not the information in the document is correct. For example: * Query: &quot;Can I return the package in 2 days once received?&quot; * Suggested document says: &quot;Items must be returned/exchanged within 60 days of the purchase date.&quot; * Ground truth: &quot;No return or exchange is allowed.&quot; * [document_correctness]: INCORRECT
1690+
&quot;documentCorrectness&quot;: &quot;A String&quot;, # Optional. Whether or not the information in the document is correct. For example: * Query: &quot;Can I return the package in 2 days once received?&quot; * Suggested document says: &quot;Items must be returned/exchanged within 60 days of the purchase date.&quot; * Ground truth: &quot;No return or exchange is allowed.&quot; * document_correctness: INCORRECT
16911691
&quot;documentEfficiency&quot;: &quot;A String&quot;, # Optional. Whether or not the suggested document is efficient. For example, if the document is poorly written, hard to understand, hard to use or too long to find useful information, document_efficiency is DocumentEfficiency.INEFFICIENT.
16921692
&quot;knowledgeAssistFeedback&quot;: { # Feedback for knowledge assist. # Optional. Feedback for knowledge assist.
16931693
&quot;answerCopied&quot;: True or False, # Whether the suggested answer was copied by the human agent. If the value is set to be true, AnswerFeedback.clicked will be updated to be true.

‎docs/dyn/dialogflow_v2.projects.conversationModels.evaluations.html

+6-6
Original file line numberDiff line numberDiff line change
@@ -115,17 +115,17 @@ <h3>Method Details</h3>
115115
&quot;dataset&quot;: &quot;A String&quot;, # Required. ConversationDataset resource name. Format: `projects//locations//conversationDatasets/`
116116
},
117117
],
118-
&quot;smartComposeConfig&quot;: { # Smart compose specific configuration for evaluation job. # Configuration for smart compose model evalution.
118+
&quot;smartComposeConfig&quot;: { # Smart compose specific configuration for evaluation job. # Configuration for smart compose model evaluation.
119119
&quot;allowlistDocument&quot;: &quot;A String&quot;, # The allowlist document resource name. Format: `projects//knowledgeBases//documents/`. Only used for smart compose model.
120120
&quot;maxResultCount&quot;: 42, # Required. The model to be evaluated can return multiple results with confidence score on each query. These results will be sorted by the descending order of the scores and we only keep the first max_result_count results as the final results to evaluate.
121121
},
122-
&quot;smartReplyConfig&quot;: { # Smart reply specific configuration for evaluation job. # Configuration for smart reply model evalution.
122+
&quot;smartReplyConfig&quot;: { # Smart reply specific configuration for evaluation job. # Configuration for smart reply model evaluation.
123123
&quot;allowlistDocument&quot;: &quot;A String&quot;, # The allowlist document resource name. Format: `projects//knowledgeBases//documents/`. Only used for smart reply model.
124124
&quot;maxResultCount&quot;: 42, # Required. The model to be evaluated can return multiple results with confidence score on each query. These results will be sorted by the descending order of the scores and we only keep the first max_result_count results as the final results to evaluate.
125125
},
126126
},
127127
&quot;name&quot;: &quot;A String&quot;, # The resource name of the evaluation. Format: `projects//conversationModels//evaluations/`
128-
&quot;rawHumanEvalTemplateCsv&quot;: &quot;A String&quot;, # Output only. Human eval template in csv format. It tooks real-world conversations provided through input dataset, generates example suggestions for customer to verify quality of the model. For Smart Reply, the generated csv file contains columns of Context, (Suggestions,Q1,Q2)*3, Actual reply. Context contains at most 10 latest messages in the conversation prior to the current suggestion. Q1: &quot;Would you send it as the next message of agent?&quot; Evaluated based on whether the suggest is appropriate to be sent by agent in current context. Q2: &quot;Does the suggestion move the conversation closer to resolution?&quot; Evaluated based on whether the suggestion provide solutions, or answers customer&#x27;s question or collect information from customer to resolve the customer&#x27;s issue. Actual reply column contains the actual agent reply sent in the context.
128+
&quot;rawHumanEvalTemplateCsv&quot;: &quot;A String&quot;, # Output only. Human eval template in csv format. It takes real-world conversations provided through input dataset, generates example suggestions for customer to verify quality of the model. For Smart Reply, the generated csv file contains columns of Context, (Suggestions,Q1,Q2)*3, Actual reply. Context contains at most 10 latest messages in the conversation prior to the current suggestion. Q1: &quot;Would you send it as the next message of agent?&quot; Evaluated based on whether the suggest is appropriate to be sent by agent in current context. Q2: &quot;Does the suggestion move the conversation closer to resolution?&quot; Evaluated based on whether the suggestion provide solutions, or answers customer&#x27;s question or collect information from customer to resolve the customer&#x27;s issue. Actual reply column contains the actual agent reply sent in the context.
129129
&quot;smartReplyMetrics&quot;: { # The evaluation metrics for smart reply model. # Output only. Only available when model is for smart reply.
130130
&quot;allowlistCoverage&quot;: 3.14, # Percentage of target participant messages in the evaluation dataset for which similar messages have appeared at least once in the allowlist. Should be [0, 1].
131131
&quot;conversationCount&quot;: &quot;A String&quot;, # Total number of conversations used to generate this metric.
@@ -166,17 +166,17 @@ <h3>Method Details</h3>
166166
&quot;dataset&quot;: &quot;A String&quot;, # Required. ConversationDataset resource name. Format: `projects//locations//conversationDatasets/`
167167
},
168168
],
169-
&quot;smartComposeConfig&quot;: { # Smart compose specific configuration for evaluation job. # Configuration for smart compose model evalution.
169+
&quot;smartComposeConfig&quot;: { # Smart compose specific configuration for evaluation job. # Configuration for smart compose model evaluation.
170170
&quot;allowlistDocument&quot;: &quot;A String&quot;, # The allowlist document resource name. Format: `projects//knowledgeBases//documents/`. Only used for smart compose model.
171171
&quot;maxResultCount&quot;: 42, # Required. The model to be evaluated can return multiple results with confidence score on each query. These results will be sorted by the descending order of the scores and we only keep the first max_result_count results as the final results to evaluate.
172172
},
173-
&quot;smartReplyConfig&quot;: { # Smart reply specific configuration for evaluation job. # Configuration for smart reply model evalution.
173+
&quot;smartReplyConfig&quot;: { # Smart reply specific configuration for evaluation job. # Configuration for smart reply model evaluation.
174174
&quot;allowlistDocument&quot;: &quot;A String&quot;, # The allowlist document resource name. Format: `projects//knowledgeBases//documents/`. Only used for smart reply model.
175175
&quot;maxResultCount&quot;: 42, # Required. The model to be evaluated can return multiple results with confidence score on each query. These results will be sorted by the descending order of the scores and we only keep the first max_result_count results as the final results to evaluate.
176176
},
177177
},
178178
&quot;name&quot;: &quot;A String&quot;, # The resource name of the evaluation. Format: `projects//conversationModels//evaluations/`
179-
&quot;rawHumanEvalTemplateCsv&quot;: &quot;A String&quot;, # Output only. Human eval template in csv format. It tooks real-world conversations provided through input dataset, generates example suggestions for customer to verify quality of the model. For Smart Reply, the generated csv file contains columns of Context, (Suggestions,Q1,Q2)*3, Actual reply. Context contains at most 10 latest messages in the conversation prior to the current suggestion. Q1: &quot;Would you send it as the next message of agent?&quot; Evaluated based on whether the suggest is appropriate to be sent by agent in current context. Q2: &quot;Does the suggestion move the conversation closer to resolution?&quot; Evaluated based on whether the suggestion provide solutions, or answers customer&#x27;s question or collect information from customer to resolve the customer&#x27;s issue. Actual reply column contains the actual agent reply sent in the context.
179+
&quot;rawHumanEvalTemplateCsv&quot;: &quot;A String&quot;, # Output only. Human eval template in csv format. It takes real-world conversations provided through input dataset, generates example suggestions for customer to verify quality of the model. For Smart Reply, the generated csv file contains columns of Context, (Suggestions,Q1,Q2)*3, Actual reply. Context contains at most 10 latest messages in the conversation prior to the current suggestion. Q1: &quot;Would you send it as the next message of agent?&quot; Evaluated based on whether the suggest is appropriate to be sent by agent in current context. Q2: &quot;Does the suggestion move the conversation closer to resolution?&quot; Evaluated based on whether the suggestion provide solutions, or answers customer&#x27;s question or collect information from customer to resolve the customer&#x27;s issue. Actual reply column contains the actual agent reply sent in the context.
180180
&quot;smartReplyMetrics&quot;: { # The evaluation metrics for smart reply model. # Output only. Only available when model is for smart reply.
181181
&quot;allowlistCoverage&quot;: 3.14, # Percentage of target participant messages in the evaluation dataset for which similar messages have appeared at least once in the allowlist. Should be [0, 1].
182182
&quot;conversationCount&quot;: &quot;A String&quot;, # Total number of conversations used to generate this metric.

‎docs/dyn/dialogflow_v2.projects.conversations.participants.suggestions.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ <h3>Method Details</h3>
199199
{ # The request message for Participants.SuggestKnowledgeAssist.
200200
&quot;contextSize&quot;: 42, # Optional. Max number of messages prior to and including latest_message to use as context when compiling the suggestion. The context size is by default 100 and at most 100.
201201
&quot;latestMessage&quot;: &quot;A String&quot;, # Optional. The name of the latest conversation message to compile suggestions for. If empty, it will be the latest message of the conversation. Format: `projects//locations//conversations//messages/`.
202-
&quot;previousSuggestedQuery&quot;: &quot;A String&quot;, # Optional. The previously suggested query for the given conversation. This helps identify whether the next suggestion we generate is resonably different from the previous one. This is useful to avoid similar suggestions within the conversation.
202+
&quot;previousSuggestedQuery&quot;: &quot;A String&quot;, # Optional. The previously suggested query for the given conversation. This helps identify whether the next suggestion we generate is reasonably different from the previous one. This is useful to avoid similar suggestions within the conversation.
203203
}
204204

205205
x__xgafv: string, V1 error format.

0 commit comments

Comments
 (0)
Please sign in to comment.