Amazom Lex Bot Not working properly all time

0

Issue I am facing below issues with Amazon Lex Service.

  • Even after entering slot value it is not taking slot value and aksing for it again and again
  • Sometime it is not identifying intent even from excat utterances, it is not consistent.

I am using Amazon Lex V2.

asked a year ago208 views
1 Answer
0

Hi, the reason that Lex is aksing for it again and again, is because of the slot retries being set on the slot. Default is 3 retries. Now, as for not taking the slot value, its because Lex is not able to resolve the user-input to the associated slot. You can improve resolution by adding slot type values to your slot type and this will be used as training data. Ref: https://docs.aws.amazon.com/lexv2/latest/dg/custom-slot-types.html

Depending on your use-case if you just wish to capture the user-input as is as the slot value you can use the built-in slot type AMAZON.FreeFormInput: https://docs.aws.amazon.com/lexv2/latest/dg/built-in-slot-free-form.html Another one that allows to capture alphanumeric values but allows you to define your regex for the user-input is: https://docs.aws.amazon.com/lexv2/latest/dg/built-in-slot-alphanumeric.html

AWS
answered a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions