IBM-Cloud / insurance-bot

A message based insurance experience
http://cloudco.mybluemix.net
Other
36 stars 57 forks source link

Chatbot missing conversation related to jump statement #162

Closed sourabhks closed 7 years ago

sourabhks commented 7 years ago

Whenever there is a follow up conversation with a Jump statement. The chatbot is missing that conversation. Please look into it and let me know the related changes. ana conversation watson trained conversation

l2fprod commented 7 years ago

can you describe what are the steps to reproduce the issue and what is the behavior you expect?

sourabhks commented 7 years ago

The steps to reproduce the issues are as follows: 1) type "Make a Claim" 2) it will ask for what have you done, Then type "tooth filling" 3) you will notice a difference in output behavior between watson conversation output as in image2 and ana conversation output as in image1.

The normal behavior should be that the watson trained conversation should be reflected by ana chatbot but it is not so. What I noticed was that whenever there is a Jump statement, The ana chatbot is missing it. Kindly look into it and let me know how to resolve it. Thanks

sourabhks commented 7 years ago

I have figured the reason for difference. The bot.js is coded to display only the first response message. I changed that line to print entire response.output.text array and it's working fine now. Thanks for your prompt reply

Can you please tell me how to view the dashboard logged conversation records, TIA

l2fprod commented 7 years ago

Going to close that one.

The dashboard is a separate app (https://github.com/IBM-Bluemix/insurance-bot-dashboard) that is deployed by the toolchain if you used that (https://github.com/IBM-Bluemix/insurance-toolchain).