跳至內容

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 年前檢視次數 116 次
1 個回答
0

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

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

AWS
已回答 1 年前
  • 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

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。