Intent constructor

Intent(
  1. {String? name,
  2. String? displayName,
  3. int? priority,
  4. bool? isFallback,
  5. bool? mlDisabled,
  6. List<String>? inputContextNames,
  7. List<String>? events,
  8. String? action,
  9. bool? resetContexts,
  10. List<IntentParameter>? parameters,
  11. List<Message>? messages,
  12. String? rootFollowupIntentName,
  13. String? parentFollowUpIntentName,
  14. 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,
});