This tutorial showcases a simple technical support bot that can help with password resets powered by Conversation Learner. The bot's model can learn non-trivial dialog flows and multi-turn sequences including an out-of-domain classes. The task can be accomplished without code or Entities.
This tutorial requires that the password reset bot is running
npm run demo-password
In the Model list of the web UI, click on Tutorial Demo Password Reset.
The Model contains a set of Actions designed to help users solve common password problems.
The Model also contains several Train Dialogs, including some that demonstrate out of domain class training. For example, users who might request like driving directions. The sample bot has been trained on a few for demonstration purposes, and simply responds by stating it "can't help with that." The list of existing Train Dialogs is found under "Train Dialogs" in the left panel.
- On the left panel, click "Train Dialogs", then the "New Train Dialog" button.
- In the chat panel, where it says "Type your message...", type in "i lost my password."
- Click the "Score Actions" button.
- Select the response, "Is that for your local account or Microsoft account?"
- In the chat panel, where it says "Type your message...", type in "local account please"
- Click the "Score Actions" button.
- Select the response, "Which version of Windows do you have?"
- In the chat panel, where it says "Type your message...", type in "windows xp"
- Click the "Score Actions" button.
- Click the "+Action" button.
- In the "Bot's response..." field, type "SOLUTION: How to reset password on Windows XP.."
- Click the "Create" button.
- On the left panel, click "Train Dialogs", then the existing "toy stores" Train Dialog.
- In the chat panel, click the "toy stores" utterance.
- In the "Add alternative input..." field, type "web search" and hit enter.
- In the "Add alternative input..." field, type "flight booking" and hit enter.
- Click the "Save Changes" button.
- Click the "Save Edit" button.
- On the left panel, click "Log Dialogs", then the "New Log Dialog" button.
- In the chat panel, where it says "Type your message...", type in "i can't find my password"
- In the chat panel, where it says "Type your message...", type in "Microsoft account"
- In the chat panel, where it says "Type your message...", type in "thanks"
- Click the "Done Testing" button.
- Click the "i can't find my password" log dialog from the grid view.
- In the chat panel, click the incorrectly rendered "Solution: How to reset a Microsoft Account Password" response.
- Click the "+Action" button.
- In the "Bot's response..." field, type "You are welcome"
- Click the "Create" button.
- Click the "Save As Train Dialog" button.
[!div class="nextstepaction"] Demo - pizza order