Class MessageAnnotation (2.1.2)

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

Represents the result of annotation for the message.

Attributes

NameDescription
parts Sequence[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.