Class MessageAnnotation (2.34.0)

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

Represents the result of annotation for the message.

Attributes

Name Description
parts MutableSequence[google.cloud.dialogflow_v2.types.AnnotatedMessagePart]
The collection of annotated message parts ordered by their position in the message. You can recover the annotated message by concatenating [AnnotatedMessagePart.text].
contain_entities bool
Indicates whether the text message contains entities.