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

Commit

Permalink
feat(v3beta1): support sentiment analysis in bot testing (#100)
Browse files Browse the repository at this point in the history
  • Loading branch information
gcf-owl-bot[bot] authored Jun 8, 2021
1 parent fdd1a9e commit f24f302
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions google/cloud/dialogflowcx_v3beta1/types/test_case.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,13 +199,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 f24f302

Please sign in to comment.