Class AutomatedAgentReply (2.15.0)

AutomatedAgentReply(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Represents a response from an automated agent.

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof:


Response of the Dialogflow Sessions.DetectIntent call. This field is a member of `oneof`_ ``response``.
response_messages Sequence[]
Response messages from the automated agent.
intent str
Name of the intent if an intent is matched for the query. For a V2 query, the value format is ``projects/
event str
Event name if an event is triggered for the query. This field is a member of `oneof`_ ``match``.
match_confidence float
The confidence of the match. Values range from 0.0 (completely uncertain) to 1.0 (completely certain). This value is for informational purpose only and is only used to help match the best intent within the classification threshold. This value may change for the same end-user expression at any time due to a model retraining or change in implementation.
parameters google.protobuf.struct_pb2.Struct
The collection of current parameters at the time of this response.
cx_session_parameters google.protobuf.struct_pb2.Struct
The collection of current Dialogflow CX agent session parameters at the time of this response. Deprecated: Use ``parameters`` instead.
AutomatedAgentReply type.
allow_cancellation bool
Indicates whether the partial automated agent reply is interruptible when a later reply message arrives. e.g. if the agent specified some music as partial response, it can be cancelled.


builtins.object > proto.message.Message > AutomatedAgentReply




Represents different automated agent reply types.