It may sound non-serious , after all – it is only Chat bot . But the custom AI ChatBot will soon become a necessity for your business.Why ? The short answer is – competition and convenience. Convenience because – it is much easier to text or speak your request to the Chat bot than to navigate the web , and competition – because ones consumers realize the convenient way – they will prefer the Chatbot method of getting served as opposed to conventional Web browsing. I have tested transport of London Chatbot which helps commuters to find the next available bus and the experience was amazing. I did not need to navigate the webpage of the transport of London , but instead -dictated to the messenger – the destination of my route and location and had the quick result of next available bus and the time of departure from my current location stop.

Where to start if you want to build one

One may wish to write Chatbot from scratch but unless you need complete independence (and ready to invest your time, money and efforts into it) there is not need to reinvent the bicycle – the Chatbot can be built by standing on the shoulders of Facebook, Google, IBM or Amazon as they already created the infrastructure for it including hardware,software etc.

Using APIs

IBM is allowing to use its APIs to access IBM Watson AI. By doing it one can call APIs from within PHP code to allow communication from within Web page to API backend

Flow

User interacts with web based user interface application

Application forwards dialog using APIs to AI backend

AI responds and sends reply to web based UI

Training your chatbot

IBM Watson assistant provides convenient way of building complex responses for your chatbot. Training has to be done on the backend side.

There are following steps necessary to perform before traning :

Define classes of actions that chatbot will perform derived from natural language dialog.Examples are “get the bus schedule” or “check the weather forecast” Collect real user expressions. example is “I d like to know the weather for today” Map user expressions to classes of actions Divide map into training and test sets Train your chatbot

Continual improvement

Ones chatbot is up and running , it is necessary to continue to collect users utterances and keep training and improving it to perfection.

How AI is realized on the backend

The backend AI is realized with Artificial Neural Network ,LSTM model but unless you want to build it from scratch , it is a subject for separate article .

Copyright Andriy S @technolized.com

Share if you like

https://www.linkedin.com/shareArticle?mini=true&url=https://www.technolized.com/the-rise-of-the-chatbots/