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

feat: added baseline model version used to generate the summary #665

Merged
merged 2 commits into from
Aug 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
16 changes: 16 additions & 0 deletions google/cloud/dialogflow_v2/types/conversation.py
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
10 changes: 10 additions & 0 deletions google/cloud/dialogflow_v2/types/session.py
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