Class ConversationTurn (0.8.2)

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

NameDescription
user_input google.cloud.dialogflowcx_v3beta1.types.ConversationTurn.UserInput
The user input.
virtual_agent_output google.cloud.dialogflowcx_v3beta1.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.v3beta1.QueryInput.text], [event input][google.cloud.dialogflow.cx.v3beta1.QueryInput.event], [dtmf input][google.cloud.dialogflow.cx.v3beta1.QueryInput.dtmf] in the test case.

:type: google.cloud.dialogflowcx_v3beta1.types.QueryInput

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