Dialogflow V2 API - Module Google::Cloud::Dialogflow::V2::Intent::TrainingPhrase::Type (v1.1.0)

Reference documentation and code samples for the Dialogflow V2 API module Google::Cloud::Dialogflow::V2::Intent::TrainingPhrase::Type.

Represents different types of training phrases.

Constants

TYPE_UNSPECIFIED

value: 0
Not specified. This value should never be used.

EXAMPLE

value: 1
Examples do not contain @-prefixed entity type names, but example parts can be annotated with entity types.

TEMPLATE

value: 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.