Skip to content

Commit

Permalink
feat: added baseline model version used to generate the summary (#665)
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: 555788605

Source-Link: googleapis/googleapis@90a551c

Source-Link: googleapis/googleapis-gen@30620b4
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>
  • Loading branch information
gcf-owl-bot[bot] and gcf-owl-bot[bot] authored Aug 11, 2023
1 parent eb20954 commit d13acda
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -500,6 +500,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 @@ -515,6 +519,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 @@ -637,6 +645,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 @@ -648,6 +660,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 @@ -245,6 +245,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.v2.Intent.Message.platform].
"""

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


class QueryInput(proto.Message):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
],
"language": "PYTHON",
"name": "google-cloud-dialogflow",
"version": "2.23.3"
"version": "0.1.0"
},
"snippets": [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
],
"language": "PYTHON",
"name": "google-cloud-dialogflow",
"version": "2.23.3"
"version": "0.1.0"
},
"snippets": [
{
Expand Down

0 comments on commit d13acda

Please sign in to comment.