Skip to content
This repository was archived by the owner on Jan 6, 2024. It is now read-only.

Commit db258bc

Browse files
feat: support sentiment analysis in bot testing (#98)
* feat: support sentiment analysis in bot testing PiperOrigin-RevId: 377915759 Source-Link: googleapis/googleapis@e3fcbab Source-Link: https://github.com/googleapis/googleapis-gen/commit/29b972d9a4e8a2ce30b9325e60e9d08e7a3e6bcd * 🦉 Updates from OwlBot Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent 0813407 commit db258bc

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.coveragerc

-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
branch = True
33

44
[report]
5-
fail_under = 100
65
show_missing = True
76
omit =
87
google/cloud/dialogflowcx/__init__.py

google/cloud/dialogflowcx_v3/types/test_case.py

+3
Original file line numberDiff line numberDiff line change
@@ -198,13 +198,16 @@ class UserInput(proto.Message):
198198
response to the user utterance. Often if
199199
parameters are injected, webhooks should not be
200200
enabled.
201+
enable_sentiment_analysis (bool):
202+
Whether sentiment analysis is enabled.
201203
"""
202204

203205
input = proto.Field(proto.MESSAGE, number=5, message=session.QueryInput,)
204206
injected_parameters = proto.Field(
205207
proto.MESSAGE, number=2, message=struct_pb2.Struct,
206208
)
207209
is_webhook_enabled = proto.Field(proto.BOOL, number=3,)
210+
enable_sentiment_analysis = proto.Field(proto.BOOL, number=7,)
208211

209212
class VirtualAgentOutput(proto.Message):
210213
r"""The output from the virtual agent.

0 commit comments

Comments
 (0)