Class Part

Represents a part of a training phrase.

Attributes
NameDescription
strtext
Required. The text for this part.
strentity_type
Optional. The entity type name prefixed with ``@``. This field is required for annotated parts of the training phrase.
stralias
Optional. The parameter name for the value extracted from the annotated part of the example. This field is required for annotated parts of the training phrase.
booluser_defined
Optional. Indicates whether the text was manually annotated. This field is set to true when the Dialogflow Console is used to manually annotate the part. When creating an annotated part with the API, you must set this to true.

Inheritance

builtins.object > proto.message.Message > Part