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년 전148회 조회
답변 없음

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠