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

feat(v3beta1): support sentiment analysis in bot testing #100

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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