내용으로 건너뛰기

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.

질문됨 2년 전355회 조회

1개 답변
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

답변함 2년 전

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

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

관련 콘텐츠