nluIntentConfidenceThreshold
Determines the threshold where Amazon Lex will insert the AMAZON.FallbackIntent
, AMAZON.KendraSearchIntent
, or both when returning alternative intents in a PostContent or PostText response. AMAZON.FallbackIntent
and AMAZON.KendraSearchIntent
are only inserted if they are configured for the bot.
You must set the enableModelImprovements
parameter to true
to use confidence scores in the following regions.
US East (N. Virginia) (us-east-1)
US West (Oregon) (us-west-2)
Asia Pacific (Sydney) (ap-southeast-2)
EU (Ireland) (eu-west-1)
In other Regions, the enableModelImprovements
parameter is set to true
by default.
For example, suppose a bot is configured with the confidence threshold of 0.80 and the AMAZON.FallbackIntent
. Amazon Lex returns three alternative intents with the following confidence scores: IntentA (0.70), IntentB (0.60), IntentC (0.50). The response from the PostText
operation would be:
AMAZON.FallbackIntent
IntentA
IntentB
IntentC