aws-solutions / qnabot-on-aws

AWS QnABot is a multi-channel, multi-language conversational interface (chatbot) that responds to your customer's questions, answers, and feedback. The solution allows you to deploy a fully functional chatbot across multiple channels including chat, voice, SMS and Amazon Alexa.
https://aws.amazon.com/solutions/implementations/aws-qnabot
Apache License 2.0
384 stars 247 forks source link

ELICIT_RESPONSE_DEFAULT_MSG can't be changed #745

Open seano10 opened 2 days ago

seano10 commented 2 days ago

Describe the bug The default value for the field ELICIT_RESPONSE_DEFAULT_MSG is "OK.". I have tried changing it to a different value (eg "", or "W") but although I am able to save the settings the behaviour still returns "OK." In fact it returns even if I have provided a response message, meaning that I actually get "OK. Ok, thank you", when it should just return "Ok, thank you".

To Reproduce Change the ELICIT_RESPONSE_DEFAULT_MSG in the settings tab of the QnA bot and then utilise the elicit response feature in an answer.

Expected behavior I expect the returned value to include the value set in the ELICIT_RESPONSE_DEFAULT_MSG field, instead it always returns "OK."

Please complete the following information about the solution:

To get the version of the solution, you can look at the description of the created CloudFormation stack. For example, "(SO0189) QnABot [...] v0.0.1".

Screenshots If applicable, add screenshots to help explain your problem (please DO NOT include sensitive information).

Additional context Add any other context about the problem here.