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

Commit f24f302

Browse files
feat(v3beta1): support sentiment analysis in bot testing (#100)
PiperOrigin-RevId: 377947699 Source-Link: googleapis/googleapis@90717db Source-Link: https://github.com/googleapis/googleapis-gen/commit/a06347a33a73754768a6f0633fc8e247373e5be6
1 parent fdd1a9e commit f24f302

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

google/cloud/dialogflowcx_v3beta1/types/test_case.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,13 +199,16 @@ class UserInput(proto.Message):
199199
response to the user utterance. Often if
200200
parameters are injected, webhooks should not be
201201
enabled.
202+
enable_sentiment_analysis (bool):
203+
Whether sentiment analysis is enabled.
202204
"""
203205

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

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

0 commit comments

Comments
 (0)