3. Now, since ours is a conversational AI bot, we need to keep track of the conversations happened thus far, to predict an appropriate response. For this purpose, we need a dictionary object that can be persisted with information about the current intent, current entities, persisted information that user would have provided to bot’s previous questions, bot’s previous action, results of the API call (if any). This information will constitute our input X, the feature vector. The target y, that the dialogue model is going to be trained upon will be ‘next_action’ (The next_action can simply be a one-hot encoded vector corresponding to each actions that we define in our training data).
WeChat combines a chat-based interface with vast library of add-on features such as a mobile wallet, chat-based transactions, and chat-based media and interactive widgets, and exposes it all to businesses through a powerful API that enables businesses from mom and pop noodle shops to powerhouses such as Nike and Burberry to “friend” their customers and market to them in never before imaginable ways. Over 10MM businesses in China have WeChat accounts, and it is becoming increasingly popular for small businesses to only have a WeChat account, forgoing developing their own website or mobile app completely. US technology firms, in particular Facebook, are taking note.
Other bots like X.ai can help schedule your meetings for you. Simply add the bot to your email thread, and it will take over back-and-forth conversation needed to schedule a meeting, alert you once it’s been arranged and add it to your calendar. As bot technology improves, the thinking is that bots will be able to automate all kinds of things; perhaps even something as complex as your taxes.
Chatbots succeed when a clear understanding of user intent drives development of both the chatbot logic and the end-user interaction. As part of your scoping process, define the intentions of potential users. What goals will they express in their input? For example, will users want to buy an airline ticket, figure out whether a medical procedure is covered by their insurance plan or determine whether they need to bring their computer in for repair? 

aLVin is built on the foundation of Nuance’s Nina, the intelligent multichannel virtual assistant that leverages natural language understanding (NLU) and cognitive computing capabilities. aLVin interacts with brokers to better understand “intent” and deliver the right information 24/7; the chatbot was built with extensive knowledge of LV=Broker’s products, which accelerated the process of being able to answer more questions and direct brokers to the right products early on

The bot (which also offers users the opportunity to chat with your friendly neighborhood Spiderman) isn’t a true conversational agent, in the sense that the bot’s responses are currently a little limited; this isn’t a truly “freestyle” chatbot. For example, in the conversation above, the bot didn’t recognize the reply as a valid response – kind of a bummer if you’re hoping for an immersive experience.
Prashant Sridharan, Twitter’s global director of developer relations says: “I’ve seen a lot of hyperbole around bots as the new apps, but I don’t know if I believe that. I don’t think we’re going to see this mass exodus of people stopping building apps and going to build bots. I think they’re going to build bots in addition to the app that they have or the service they provide,” as reported by re/code.

Intents: It is basically the action chatbot should perform when the user say something. For instance, intent can trigger same thing if user types “I want to order a red pair of shoes”, “Do you have red shoes? I want to order them” or “Show me some red pair of shoes”, all of these user’s text show trigger single command giving users options for Red pair of shoes.

Yes, witty banter is a plus. But, the ultimate mission of a bot is to provide a service people actually want to use. As long as you think of your bot as just another communication channel, your focus will be misguided. The best bots harness the micro-decisions consumers experience on a daily basis and see them as an opportunity to help. Whether it's adjusting a reservation, updating the shipping info for an order, or giving medical advice, bots provide a solution when people need it most.
Smart chatbots rely on artificial intelligence when they communicate with users. Instead of pre-prepared answers, the robot responds with adequate suggestions on the topic. In addition, all the words said by the customers are recorded for later processing. However, the Forrester report “The State of Chatbots” points out that artificial intelligence is not a magic and is not yet ready to produce marvelous experiences for users on its own. On the contrary, it requires a huge work:
Screenless conversations are expected to dominate even more as internet connectivity and social media is poised to expand. From the era of Eliza to Alice to today’s conversational bots, we have come a long way. Conversational bots are changing the way businesses and programs interact with us. They have simplified many aspects of device use and the daily grind, and made interactions between customers and businesses more efficient.
A chatbot (also known as a spy, conversational bot, chatterbot, interactive agent, conversational interface, Conversational AI, talkbot or artificial spy entity) is a computer program or an artificial intelligence which conducts a conversation via auditory or textual methods.[1] Such programs are often designed to convincingly simulate how a human would behave as a conversational partner, thereby passing the Turing test. Chatbots are typically used in dialog systems for various practical purposes including customer service or information acquisition. Some chatbots use sophisticated natural language processing systems, but many simpler ones scan for keywords within the input, then pull a reply with the most matching keywords, or the most similar wording pattern, from a database.