{% comment %} This page is auto-generated, do not edit manually. See go/cloud-rad/support if there are issues on this page. {% endcomment %} {% extends "/python/docs/reference/dialogflow-cx/0.5.0/_template.html" %} {% block pagevariables %} {% endblock %} {% block body %} {% verbatim %}

Class ConversationTurn (0.5.0)

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_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.

:type: google.cloud.dialogflowcx_v3.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

{% endverbatim %} {% endblock %}