type property

String? type
getter/setter pair

The type of the training phrase.

Required. Possible string values are:

  • "TYPE_UNSPECIFIED" : Not specified. This value should never be used.
  • "EXAMPLE" : Examples do not contain @-prefixed entity type names, but example parts can be annotated with entity types.
  • "TEMPLATE" : 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.

Implementation

core.String? type;