Class AutomatedAgentReply (2.24.1)

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: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

NameDescription
detect_intent_response google.cloud.dialogflow_v2beta1.types.DetectIntentResponse
Response of the Dialogflow Sessions.DetectIntent call. This field is a member of oneof_ response.
response_messages MutableSequence[google.cloud.dialogflow_v2beta1.types.ResponseMessage]
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/. For a V3 query, the value format is projects/. This field is a member of oneof_ match.
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.
automated_agent_reply_type google.cloud.dialogflow_v2beta1.types.AutomatedAgentReply.AutomatedAgentReplyType
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.
cx_current_page str
The unique identifier of the current Dialogflow CX conversation page. Format: projects/.

Classes

AutomatedAgentReplyType

AutomatedAgentReplyType(value)

Represents different automated agent reply types.

Values: AUTOMATED_AGENT_REPLY_TYPE_UNSPECIFIED (0): Not specified. This should never happen. PARTIAL (1): Partial reply. e.g. Aggregated responses in a Fulfillment that enables return_partial_response can be returned as partial reply. WARNING: partial reply is not eligible for barge-in. FINAL (2): Final reply.