- Newest
- Most votes
- Most comments
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
Relevant content
- asked a year ago
- AWS OFFICIALUpdated 3 years ago