2 réponses
- Le plus récent
- Le plus de votes
- La plupart des commentaires
0
Hi,
Thank you for your interest in Lex. If the lambda function gives a particular dialog action, Lex honors it regardless of the default max retries set in the bot.
One way to workaround this issue would be to maintain a counter in the session attributes that is incremented in lambda every time the user enters invalid input and then on the nth turn (n being the maximum retry attempts), lambda should give a dialog action such as Close to finish up a conversation.
Please let us know if there's anything else we can help you with.
Regards,
Nikhil
répondu il y a 5 ans
0
Hi Team I too had same requirement, Could you show any sample reference to add in session attributes, as i am new to lex v2 , I need to implement this logic in java language.
Thanks in Advance
répondu il y a 2 ans
Contenus pertinents
- demandé il y a 6 mois
- demandé il y a 24 jours
- demandé il y a un an
- AWS OFFICIELA mis à jour il y a 2 ans
- AWS OFFICIELA mis à jour il y a 10 mois
- AWS OFFICIELA mis à jour il y a 2 ans