aws-solutions/qnabot-on-aws

Confirmation Decline Response Prompt not sending

Closed this issue · 2 comments

image

I tried using Elicit Response in the qna bot designer where the built in I used is QNAName

When I pressed no in the confirmation it displayed the ELICIT_RESPONSE_RETRY_MESSAGE instead of the confirmation decline prompt

image
Here I tried using the lex directly and it sends the confirmation decline prompt

Hi @dangollayan
Which version of the solution are you using. In general, please use the bug template to submit issues so that we have all required info
Rgds
Fabien

Hi @dangollayan ,
The elicit bot request and responses are intercepted by the supervisory QnA bot and this is the current implementation. When you reply No, the elicit response both send a failed state which triggers the generic Qna setting of ELICIT_RESPONSE_RETRY_MESSAGE. After you get a failure ELICIT_RESPONSE_MAX_RETRIES times, the supervisory QnA bot suspend the conversation with the elicit response bot. See

. This is the expected behaviour might wanted to use bot routing instead - see https://docs.aws.amazon.com/solutions/latest/qnabot-on-aws/configuring-the-chatbot-to-ask-the-questions-and-use-response-bots.html