Bot Intelligence Enhancement - Did you mean - Typo correction to lead the user to your intent - Suggestion and correction

When working with smart phones even a mature user can make typo for the adjacent characters on the mobile screen.

Most of the AI platforms work on regex or keywords match and may learn with time.
But what about the users who leave the conversation as the bot did not do anything for the typo he did?
Won't the bot suggest something to keep user engaged?

Here is one idea to do that and we have done it.

Use case :
Let us say user wanted to say "broadband" to know about broadband internet from a telco.

Reality :
User typed broadbanf ( as "d" and "f" are adjacent on the keyboard, and it was a typo)

What should a bot developer do to keep the user engaged?
The bot should suggest the probable word user wanted to type, and consider the actual text payload after correction. In case you do not have intent to handle, you can give option for user to see google results as well.


Something like below will add additional intelligence to the bot and to redirect and re-engage the user.














How to do it quickly?
In the default intent for your AI back end, make an action to your web-hook,  call a service (preferably google did you mean service using Node, or HTML query string URL).
Pass the result as quick reply to user with payload as the button text.

And enjoy !!

Comments