alternativeIntents property

List<PredictedIntent>? alternativeIntents
final

One to four alternative intents that may be applicable to the user's intent.

Each alternative includes a score that indicates how confident Amazon Lex is that the intent matches the user's intent. The intents are sorted by the confidence score.

Implementation

final List<PredictedIntent>? alternativeIntents;