GoogleCloudDialogflowV2IntentTrainingPhrasePart constructor
const
GoogleCloudDialogflowV2IntentTrainingPhrasePart({})
Creates a new GoogleCloudDialogflowV2IntentTrainingPhrasePart.
alias 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.
entityType Optional. The entity type name prefixed with @. This field is required for annotated parts of the training phrase.
text The text for this part.
userDefined 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.
Implementation
const GoogleCloudDialogflowV2IntentTrainingPhrasePart({
this.alias,
this.entityType,
required this.text,
this.userDefined,
});