Class MessageAnnotation (2.14.1)

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

Represents the result of annotation for the message.

Attributes

NameDescription
parts Sequence[google.cloud.dialogflow_v2beta1.types.AnnotatedMessagePart]
Optional. 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
Required. Indicates whether the text message contains entities.