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

Commit

Permalink
feat: support sentiment analysis in bot testing (#98)
Browse files Browse the repository at this point in the history
* feat: support sentiment analysis in bot testing

PiperOrigin-RevId: 377915759

Source-Link: googleapis/googleapis@e3fcbab

Source-Link: googleapis/googleapis-gen@29b972d

* 🦉 Updates from OwlBot

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] committed Jun 7, 2021
1 parent 0813407 commit db258bc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
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

0 comments on commit db258bc

Please sign in to comment.