Salta al contenuto

Lex bot, re prompt after timeout

0

I was building a bot to collect user ratings. Whenever the bot needs a rating it shall prompt the user using the elicit slot functionality. Problem is if user doesn't input anything after prompted, I want the bot to re-prompt the user for input as a reminder after a certain timeout (30s). Is there any aws functionality for this?

1 Risposta
0

Hi, Have you explored the 'Wait and Continue' feature?

Reference: https://docs.aws.amazon.com/lexv2/latest/dg/wait-and-continue.html

AWS
con risposta un anno fa
  • Hi, The doc doesn't specify if this works for text inputs. Also for what response will it the wait and continue be triggered?

    I tried this:

    waited for more than 60s after slot elicitation send "wait" text message

    both the cases there is no reprompting

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.