Skip to content

Commit 080c0cc

Browse files
feat: [google-cloud-dialogflow-cx] add agent answer feedback capability (#12034)
- [ ] Regenerate this pull request now. BEGIN_COMMIT_OVERRIDE feat: add agent answer feedback capabilit feat: add fields for supporting barge-in in StreamingDetectIntent API feat: add end_user_metadata to QueryParameters feat: add boost & bury and filter ES controls END_COMMIT_OVERRIDE PiperOrigin-RevId: 583523426 Source-Link: googleapis/googleapis@c73d0da Source-Link: googleapis/googleapis-gen@1b5ed29 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWRpYWxvZ2Zsb3ctY3gvLk93bEJvdC55YW1sIiwiaCI6IjFiNWVkMjk0OThiMzRlMTAxNmUxZjY5ZWNiMjgwODE2OGJkMzRkMTUifQ== BEGIN_NESTED_COMMIT PiperOrigin-RevId: 583522403 Source-Link: googleapis/googleapis@86c7ca6 Source-Link: googleapis/googleapis-gen@42f2c6e Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWRpYWxvZ2Zsb3ctY3gvLk93bEJvdC55YW1sIiwiaCI6IjQyZjJjNmU5NzlhMWQyYTZmYWVkZDc3MmUyM2Q0OWU2ZWYwMTk0NzAifQ== END_NESTED_COMMIT --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent b055b00 commit 080c0cc

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+6101
-3026
lines changed

packages/google-cloud-dialogflow-cx/google/cloud/dialogflowcx/__init__.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@
103103
)
104104
from google.cloud.dialogflowcx_v3.types.audio_config import (
105105
AudioEncoding,
106+
BargeInConfig,
106107
InputAudioConfig,
107108
OutputAudioConfig,
108109
OutputAudioEncoding,
@@ -238,12 +239,16 @@
238239
UpdateSecuritySettingsRequest,
239240
)
240241
from google.cloud.dialogflowcx_v3.types.session import (
242+
AnswerFeedback,
241243
AudioInput,
244+
BoostSpec,
245+
BoostSpecs,
242246
CloudConversationDebuggingInfo,
243247
DetectIntentRequest,
244248
DetectIntentResponse,
245249
DtmfInput,
246250
EventInput,
251+
FilterSpecs,
247252
FulfillIntentRequest,
248253
FulfillIntentResponse,
249254
IntentInput,
@@ -253,10 +258,12 @@
253258
QueryInput,
254259
QueryParameters,
255260
QueryResult,
261+
SearchConfig,
256262
SentimentAnalysisResult,
257263
StreamingDetectIntentRequest,
258264
StreamingDetectIntentResponse,
259265
StreamingRecognitionResult,
266+
SubmitAnswerFeedbackRequest,
260267
TextInput,
261268
)
262269
from google.cloud.dialogflowcx_v3.types.session_entity_type import (
@@ -394,6 +401,7 @@
394401
"UpdateAgentRequest",
395402
"UpdateGenerativeSettingsRequest",
396403
"ValidateAgentRequest",
404+
"BargeInConfig",
397405
"InputAudioConfig",
398406
"OutputAudioConfig",
399407
"SpeechWordInfo",
@@ -509,12 +517,16 @@
509517
"ListSecuritySettingsResponse",
510518
"SecuritySettings",
511519
"UpdateSecuritySettingsRequest",
520+
"AnswerFeedback",
512521
"AudioInput",
522+
"BoostSpec",
523+
"BoostSpecs",
513524
"CloudConversationDebuggingInfo",
514525
"DetectIntentRequest",
515526
"DetectIntentResponse",
516527
"DtmfInput",
517528
"EventInput",
529+
"FilterSpecs",
518530
"FulfillIntentRequest",
519531
"FulfillIntentResponse",
520532
"IntentInput",
@@ -524,10 +536,12 @@
524536
"QueryInput",
525537
"QueryParameters",
526538
"QueryResult",
539+
"SearchConfig",
527540
"SentimentAnalysisResult",
528541
"StreamingDetectIntentRequest",
529542
"StreamingDetectIntentResponse",
530543
"StreamingRecognitionResult",
544+
"SubmitAnswerFeedbackRequest",
531545
"TextInput",
532546
"CreateSessionEntityTypeRequest",
533547
"DeleteSessionEntityTypeRequest",

packages/google-cloud-dialogflow-cx/google/cloud/dialogflowcx_v3/__init__.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@
6464
)
6565
from .types.audio_config import (
6666
AudioEncoding,
67+
BargeInConfig,
6768
InputAudioConfig,
6869
OutputAudioConfig,
6970
OutputAudioEncoding,
@@ -196,12 +197,16 @@
196197
UpdateSecuritySettingsRequest,
197198
)
198199
from .types.session import (
200+
AnswerFeedback,
199201
AudioInput,
202+
BoostSpec,
203+
BoostSpecs,
200204
CloudConversationDebuggingInfo,
201205
DetectIntentRequest,
202206
DetectIntentResponse,
203207
DtmfInput,
204208
EventInput,
209+
FilterSpecs,
205210
FulfillIntentRequest,
206211
FulfillIntentResponse,
207212
IntentInput,
@@ -211,10 +216,12 @@
211216
QueryInput,
212217
QueryParameters,
213218
QueryResult,
219+
SearchConfig,
214220
SentimentAnalysisResult,
215221
StreamingDetectIntentRequest,
216222
StreamingDetectIntentResponse,
217223
StreamingRecognitionResult,
224+
SubmitAnswerFeedbackRequest,
218225
TextInput,
219226
)
220227
from .types.session_entity_type import (
@@ -320,12 +327,16 @@
320327
"Agent",
321328
"AgentValidationResult",
322329
"AgentsClient",
330+
"AnswerFeedback",
323331
"AudioEncoding",
324332
"AudioInput",
333+
"BargeInConfig",
325334
"BatchDeleteTestCasesRequest",
326335
"BatchRunTestCasesMetadata",
327336
"BatchRunTestCasesRequest",
328337
"BatchRunTestCasesResponse",
338+
"BoostSpec",
339+
"BoostSpecs",
329340
"CalculateCoverageRequest",
330341
"CalculateCoverageResponse",
331342
"Changelog",
@@ -389,6 +400,7 @@
389400
"ExportTestCasesMetadata",
390401
"ExportTestCasesRequest",
391402
"ExportTestCasesResponse",
403+
"FilterSpecs",
392404
"Flow",
393405
"FlowImportStrategy",
394406
"FlowValidationResult",
@@ -497,6 +509,7 @@
497509
"RunTestCaseRequest",
498510
"RunTestCaseResponse",
499511
"SafetySettings",
512+
"SearchConfig",
500513
"SecuritySettings",
501514
"SecuritySettingsServiceClient",
502515
"SentimentAnalysisResult",
@@ -513,6 +526,7 @@
513526
"StreamingDetectIntentRequest",
514527
"StreamingDetectIntentResponse",
515528
"StreamingRecognitionResult",
529+
"SubmitAnswerFeedbackRequest",
516530
"SynthesizeSpeechConfig",
517531
"TestCase",
518532
"TestCaseError",

packages/google-cloud-dialogflow-cx/google/cloud/dialogflowcx_v3/gapic_metadata.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1258,6 +1258,11 @@
12581258
"methods": [
12591259
"streaming_detect_intent"
12601260
]
1261+
},
1262+
"SubmitAnswerFeedback": {
1263+
"methods": [
1264+
"submit_answer_feedback"
1265+
]
12611266
}
12621267
}
12631268
},
@@ -1283,6 +1288,11 @@
12831288
"methods": [
12841289
"streaming_detect_intent"
12851290
]
1291+
},
1292+
"SubmitAnswerFeedback": {
1293+
"methods": [
1294+
"submit_answer_feedback"
1295+
]
12861296
}
12871297
}
12881298
},
@@ -1308,6 +1318,11 @@
13081318
"methods": [
13091319
"streaming_detect_intent"
13101320
]
1321+
},
1322+
"SubmitAnswerFeedback": {
1323+
"methods": [
1324+
"submit_answer_feedback"
1325+
]
13111326
}
13121327
}
13131328
}

0 commit comments

Comments
 (0)