Skip to content

Commit

Permalink
feat: added baseline model version used to generate the summary (#667)
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
gcf-owl-bot[bot] and gcf-owl-bot[bot] authored Aug 15, 2023
1 parent d13acda commit 293adeb
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -572,6 +572,10 @@ class Summary(proto.Message):
"projects/<Project ID>/answerRecords/<Answer
Record ID>".
baseline_model_version (str):
The baseline model version used to generate
this summary. It is empty if a baseline model
was not used to generate this summary.
"""

text: str = proto.Field(
Expand All @@ -587,6 +591,10 @@ class Summary(proto.Message):
proto.STRING,
number=3,
)
baseline_model_version: str = proto.Field(
proto.STRING,
number=5,
)

summary: Summary = proto.Field(
proto.MESSAGE,
Expand Down Expand Up @@ -709,6 +717,10 @@ class Summary(proto.Message):
sections. The key is the section's name and the
value is the section's content. There is no
specific format for the key or value.
baseline_model_version (str):
The baseline model version used to generate
this summary. It is empty if a baseline model
was not used to generate this summary.
"""

text: str = proto.Field(
Expand All @@ -720,6 +732,10 @@ class Summary(proto.Message):
proto.STRING,
number=2,
)
baseline_model_version: str = proto.Field(
proto.STRING,
number=4,
)

summary: Summary = proto.Field(
proto.MESSAGE,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,12 @@ class QueryParameters(proto.Message):
"User-Agent", "Accept-Encoding",
"If-Modified-Since", "If-None-Match",
"X-Forwarded-For", etc.
platform (str):
The platform of the virtual agent response messages.
If not empty, only emits messages from this platform in the
response. Valid values are the enum names of
[platform][google.cloud.dialogflow.v2beta1.Intent.Message.platform].
"""

time_zone: str = proto.Field(
Expand Down Expand Up @@ -329,6 +335,10 @@ class QueryParameters(proto.Message):
proto.STRING,
number=14,
)
platform: str = proto.Field(
proto.STRING,
number=18,
)


class QueryInput(proto.Message):
Expand Down

0 comments on commit 293adeb

Please sign in to comment.