Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

Using confidence scores to improve conversation accuracy

Focus mode
Using confidence scores to improve conversation accuracy - Amazon Lex

There are two steps that Amazon Lex V2 uses to determine what a user says. The first, automatic speech recognition (ASR), creates a transcript of the user's audio utterance. The second, natural language understanding (NLU), determines the meaning of the user's utterance to recognize the user's intent or the value of slots.

By default, Amazon Lex V2 returns the most likely result from ASR and NLU. At times it may be difficult for Amazon Lex V2 to determine the most likely result. In that case, it returns several possible results along with a confidence score that indicates how likely the result is correct. A confidence score is a rating that Amazon Lex V2 provides that shows the relative confidence that it has in the result. Confidence scores range from 0.0 to 1.0.

You can use your domain knowledge with the confidence score to help determine the correct interpretation of the ASR or NLU result.

The ASR, or transcription, confidence score is a rating on how confident Amazon Lex V2 is that a particular transcription is correct. The NLU, or intent, confidence score is a rating on how confident Amazon Lex V2 is that the intent specified by the top transcription is correct. Use the confidence score that best fits your application.

PrivacySite termsCookie preferences
© 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.