I am trying different stories in wit.ai. Here is one scenario where I want to report lost credit card. When user says he lost credit card, bot has to ask his SSN followed by mother/maiden name in 2 steps and then it has to block the card. Here is the application link: https://wit.ai/Nayana-Manchi/CreditCardApp/stories/f7d77d9e-e993-428f-a75e-2e86f0e73cb3
Issues:
In the entites list I found that, it takes only 2nd input (i.e. mother name in this case, SSN is null) in the entities list when it calls action. I put some logs in JavaScript code to find the entities list. Do I need to follow slot based approach for these scenarios as well?
Slot based approach is not suitable here, as the user does not know what are the security questions.
- In actions tab only if (has/doesn’t have) options are there. Kindly explain its usage. If I set required entities (in this case: SSN and mother name) there, bot asks for SSN continuously like a loop.
Code is similar to quickstart sample with some changes to read entities.