Skip to content
This repository was archived by the owner on Dec 17, 2023. It is now read-only.

Commit 64b674a

Browse files
feat: added baseline model version used to generate the summary (#665)
* feat: added baseline model version used to generate the summary feat: added the platform of the virtual agent response messages PiperOrigin-RevId: 555788605 Source-Link: googleapis/googleapis@90a551c Source-Link: https://github.com/googleapis/googleapis-gen/commit/30620b4f34713860083fff036982900b1004cbf5 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMzA2MjBiNGYzNDcxMzg2MDA4M2ZmZjAzNjk4MjkwMGIxMDA0Y2JmNSJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent 13ef46d commit 64b674a

File tree

4 files changed

+28
-2
lines changed

4 files changed

+28
-2
lines changed

google/cloud/dialogflow_v2/types/conversation.py

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -500,6 +500,10 @@ class Summary(proto.Message):
500500
501501
"projects/<Project ID>/answerRecords/<Answer
502502
Record ID>".
503+
baseline_model_version (str):
504+
The baseline model version used to generate
505+
this summary. It is empty if a baseline model
506+
was not used to generate this summary.
503507
"""
504508

505509
text: str = proto.Field(
@@ -515,6 +519,10 @@ class Summary(proto.Message):
515519
proto.STRING,
516520
number=3,
517521
)
522+
baseline_model_version: str = proto.Field(
523+
proto.STRING,
524+
number=5,
525+
)
518526

519527
summary: Summary = proto.Field(
520528
proto.MESSAGE,
@@ -637,6 +645,10 @@ class Summary(proto.Message):
637645
sections. The key is the section's name and the
638646
value is the section's content. There is no
639647
specific format for the key or value.
648+
baseline_model_version (str):
649+
The baseline model version used to generate
650+
this summary. It is empty if a baseline model
651+
was not used to generate this summary.
640652
"""
641653

642654
text: str = proto.Field(
@@ -648,6 +660,10 @@ class Summary(proto.Message):
648660
proto.STRING,
649661
number=2,
650662
)
663+
baseline_model_version: str = proto.Field(
664+
proto.STRING,
665+
number=4,
666+
)
651667

652668
summary: Summary = proto.Field(
653669
proto.MESSAGE,

google/cloud/dialogflow_v2/types/session.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -245,6 +245,12 @@ class QueryParameters(proto.Message):
245245
"User-Agent", "Accept-Encoding",
246246
"If-Modified-Since", "If-None-Match",
247247
"X-Forwarded-For", etc.
248+
platform (str):
249+
The platform of the virtual agent response messages.
250+
251+
If not empty, only emits messages from this platform in the
252+
response. Valid values are the enum names of
253+
[platform][google.cloud.dialogflow.v2.Intent.Message.platform].
248254
"""
249255

250256
time_zone: str = proto.Field(
@@ -287,6 +293,10 @@ class QueryParameters(proto.Message):
287293
proto.STRING,
288294
number=14,
289295
)
296+
platform: str = proto.Field(
297+
proto.STRING,
298+
number=18,
299+
)
290300

291301

292302
class QueryInput(proto.Message):

samples/generated_samples/snippet_metadata_google.cloud.dialogflow.v2.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
],
99
"language": "PYTHON",
1010
"name": "google-cloud-dialogflow",
11-
"version": "2.23.3"
11+
"version": "0.1.0"
1212
},
1313
"snippets": [
1414
{

samples/generated_samples/snippet_metadata_google.cloud.dialogflow.v2beta1.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
],
99
"language": "PYTHON",
1010
"name": "google-cloud-dialogflow",
11-
"version": "2.23.3"
11+
"version": "0.1.0"
1212
},
1313
"snippets": [
1414
{

0 commit comments

Comments
 (0)