AWS Lex is not recognizing user intent

0

Hello, I have configured lex bot with an intent that consists of one sample utterance. While testing, if user utterance is lengthy, it triggers fallback intent even though it is matching with configured intent with confidence score of '0.78' which is greater than default threshold(0.4). Help me with this issue. Steps to Reproduce:

  1. Create a custom bot in lex v2 console with default configuration and a intent named "PolicyChange".
  2. Add this sample utterance - "I want my husband's name removed from the policy".
  3. Configure fulfillment successful message for that intent with a message something like - "Ok we will update policy"
  4. Build the bot and test it in test console with utterance - "My husband died last month due to covid. Now I want his name removed from the policy. Can you help me with that."
  5. Inspect the JSON input and output response in test console. You can see "FallbackIntent" is triggered. But, in Interpretations the "PolicyChange" intent has confidence score of "0.78".
  • Have you thought about invoking a Lambda function w/ a python script to interpret the utterance? I know that's more complicated but it's worth a try.

  • Hi Jennifer, that is the only option I am left with but ideally Lex itself provides interpretations before lambda invocation and it supposed to interpret the intent with highest confidence score, but it gives unexpected results. Is it a normal lex reponse behaviour or something wrong here in this case?

質問済み 2年前147ビュー
回答なし

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン