Intent constructor
Intent(
- {String? name,
- String? displayName,
- int? priority,
- bool? isFallback,
- bool? mlDisabled,
- List<
String> ? inputContextNames, - List<
String> ? events, - String? action,
- bool? resetContexts,
- List<
IntentParameter> ? parameters, - List<
Message> ? messages, - String? rootFollowupIntentName,
- String? parentFollowUpIntentName,
- List<
FollowUpIntentInfo> ? followUpIntentInfo}
An intent categorizes an end-user's intention for one conversation turn.
For each agent, you define many intents, where your combined intents can handle a complete conversation. When an end-user writes or says something, referred to as an end-user expression or end-user input, Dialogflow matches the end-user input to the best intent in your agent.
Matching an intent is also known as intent classification.
For more information, see Intent.
Implementation
Intent({
this.name,
this.displayName,
this.priority,
this.isFallback,
this.mlDisabled,
this.inputContextNames,
this.events,
this.action,
this.resetContexts,
this.parameters,
this.messages,
this.rootFollowupIntentName,
this.parentFollowUpIntentName,
this.followUpIntentInfo,
});