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

feat: support sentiment analysis in bot testing #98

Merged
merged 2 commits into from Jun 7, 2021
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
1 change: 0 additions & 1 deletion .coveragerc
Expand Up @@ -2,7 +2,6 @@
branch = True

[report]
fail_under = 100
show_missing = True
omit =
google/cloud/dialogflowcx/__init__.py
Expand Down
3 changes: 3 additions & 0 deletions google/cloud/dialogflowcx_v3/types/test_case.py
Expand Up @@ -198,13 +198,16 @@ class UserInput(proto.Message):
response to the user utterance. Often if
parameters are injected, webhooks should not be
enabled.
enable_sentiment_analysis (bool):
Whether sentiment analysis is enabled.
"""

input = proto.Field(proto.MESSAGE, number=5, message=session.QueryInput,)
injected_parameters = proto.Field(
proto.MESSAGE, number=2, message=struct_pb2.Struct,
)
is_webhook_enabled = proto.Field(proto.BOOL, number=3,)
enable_sentiment_analysis = proto.Field(proto.BOOL, number=7,)

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