Class ConversationTurn (0.7.1)
ConversationTurn(mapping=None, *, ignore_unknown_fields=False, **kwargs)
One interaction between a human and virtual agent. The human provides some input and the virtual agent provides a response.
Attributes | |
---|---|
Name | Description |
user_input |
google.cloud.dialogflowcx_v3.types.ConversationTurn.UserInput
The user input. |
virtual_agent_output |
google.cloud.dialogflowcx_v3.types.ConversationTurn.VirtualAgentOutput
The virtual agent output. |
Classes
UserInput
UserInput(mapping=None, *, ignore_unknown_fields=False, **kwargs)
The input from the human user. .. attribute:: input
Supports [text input][google.cloud.dialogflow.cx.v3.QueryInput.text], [event input][google.cloud.dialogflow.cx.v3.QueryInput.event], dtmf input in the test case.
VirtualAgentOutput
VirtualAgentOutput(mapping=None, *, ignore_unknown_fields=False, **kwargs)
The output from the virtual agent. .. attribute:: session_parameters
The session parameters available to the bot at this point.
:type: google.protobuf.struct_pb2.Struct