Class Type (2.26.0)

Type(value)

Represents different types of training phrases.

Values: TYPE_UNSPECIFIED (0): Not specified. This value should never be used. EXAMPLE (1): Examples do not contain @-prefixed entity type names, but example parts can be annotated with entity types. TEMPLATE (2): Templates are not annotated with entity types, but they can contain @-prefixed entity type names as substrings. Note: Template mode has been deprecated. Example mode is the only supported way to create new training phrases. If you have existing training phrases in template mode, they will be removed during training and it can cause a drop in agent performance.