Ir para o conteúdo

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.

feita há 2 anos346 visualizações
1 Resposta
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
respondido há 2 anos

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.