Class Type (2.24.1)

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. Template mode has been deprecated. Example mode is the only supported way to create new training phrases. If you have existing training phrases that you've created in template mode, those will continue to work.