Class Metrics (1.34.1)

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

Represents metrics for the conversation.

Attributes

Name Description
interaction_count int
The number of interactions in the conversation.
input_audio_duration google.protobuf.duration_pb2.Duration
Duration of all the input's audio in the conversation.
output_audio_duration google.protobuf.duration_pb2.Duration
Duration of all the output's audio in the conversation.
max_webhook_latency google.protobuf.duration_pb2.Duration
Maximum latency of the Webhook calls in the conversation.
has_end_interaction bool
A signal that indicates the interaction with the Dialogflow agent has ended. If any response has the ResponseMessage.end_interaction signal, this is set to true.
has_live_agent_handoff bool
Hands off conversation to a human agent. If any response has the ResponseMessage.live_agent_handoffsignal, this is set to true.
average_match_confidence float
The average confidence all of the Match in the conversation. Values range from 0.0 (completely uncertain) to 1.0 (completely certain).
query_input_count google.cloud.dialogflowcx_v3beta1.types.Conversation.Metrics.QueryInputCount
Query input counts.
match_type_count google.cloud.dialogflowcx_v3beta1.types.Conversation.Metrics.MatchTypeCount
Match type counts.

Classes

MatchTypeCount

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

Count by Match.MatchType of the matches in the conversation.

QueryInputCount

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

Count by types of QueryInput of the requests in the conversation.