8000 feat: added baseline model version used to generate the summary (#667) · googleapis/google-cloud-python@293adeb · GitHub 8000
[go: up one dir, main page]

Skip to content

Commit 293adeb

Browse files
feat: added baseline model version used to generate the summary (#667)
* feat: added baseline model version used to generate the summary feat: added the platform of the virtual agent response messages PiperOrigin-RevId: 556882279 Source-Link: googleapis/googleapis@c8eccda Source-Link: googleapis/googleapis-gen@754eb33 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNzU0ZWIzMzQwZDc2ZTZkYTY5ZjA4MTA0MWQ5N2YwMTgwMjJhNTVkYSJ9 * 🦉 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 d13acda commit 293adeb

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed

packages/google-cloud-dialogflow/google/cloud/dialogflow_v2beta1/types/conversation.py

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -572,6 +572,10 @@ class Summary(proto.Message):
572572
573573
"projects/<Project ID>/answerRecords/<Answer
574574
Record ID>".
575+
baseline_model_version (str):
576+
The baseline model version used to generate
577+
this summary. It is empty if a baseline model
578+
was not used to generate this summary.
575579
"""
576580

577581
text: str = proto.Field(
@@ -587,6 +591,10 @@ class Summary(proto.Message):
587591
proto.STRING,
588592
number=3,
589593
)
594+
baseline_model_version: str = proto.Field(
595+
proto.STRING,
596+
number=5,
597+
)
590598

591599
summary: Summary = proto.Field(
592600
proto.MESSAGE,
@@ -709,6 +717,10 @@ class Summary(proto.Message):
709717
sections. The key is the section's name and the
710718
value is the section's content. There is no
711719
specific format for the key or value.
720+
baseline_model_version (str):
721+
The baseline model version used to generate
722+
this summary. It is empty if a baseline model
723+
was not used to generate this summary.
712724
"""
713725

714726
text: str = proto.Field(
@@ -720,6 +732,10 @@ class Summary(proto.Message):
720732
proto.STRING,
721733
number=2,
722734
)
735+
baseline_model_version: str = proto.Field(
736+
proto.STRING,
737+
number=4,
738+
)
723739

724740
summary: Summary = proto.Field(
725741
proto.MESSAGE,

packages/google-cloud-dialogflow/google/cloud/dialogflow_v2beta1/types/session.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -278,6 +278,12 @@ class QueryParameters(proto.Message):
278278
"User-Agent", "Accept-Encoding",
279279
"If-Modified-Since", "If-None-Match",
280280
"X-Forwarded-For", etc.
281+
platform (str):
282+
The platform of the virtual agent response messages.
283+
284+
If not empty, only emits messages from this platform in the
285+
response. Valid values are the enum names of
286+
[platform][google.cloud.dialogflow.v2beta1.Intent.Message.platform].
281287
"""
282288

283289
time_zone: str = proto.Field(
@@ -329,6 +335,10 @@ class QueryParameters(proto.Message):
329335
proto.STRING,
330336
number=14,
331337
)
338+
platform: str = proto.Field(
339+
proto.STRING,
340+
number=18,
341+
)
332342

333343

334344
class QueryInput(proto.Message):

0 commit comments

Comments
 (0)
0