Chat Bot
Chat Bot
Abstract- This E-Booking with chat bot project is an related to previous output. This project mainly focuses
Artificial Intelligence based web application on enabling chat-bot to become a search engine that
designed to aid the car rental company to enable can process the next search with the relation to the
renting of cars. It has a user-friendly interface which previous search output. In chat-bot context, this
helps the user to communicate with our bot and rent functionality will enhance the capability of chat-bot’s
them for specific period. Communication can be input processing.
done by chatting or by means of speaking. The ability
of a bot to understand human language as it is 1.1 WHAT IS A chat-bot
spoken was done with N L P (Natural Language A chat-bot is a computer program that simulates
Processing). The categories of rental cars will be human conversation through voice commands or text
provided while speaking with our bot. Based on the chats or both. chat-bot, short for chatterbot, is an
type of car required by the customer, the user shall Artificial Intelligence (AI) feature that can be
be able to make bookings. The bot shall also check embedded and used through any major messaging
for the availability of the car and rent the car to the applications. There are a number of synonyms for
customer. This bot shall ask the user about some chat-bot, including "talkbot," "bot," "IM bot,"
important information such as date and time of "interactive agent" or "artificial conversation entity."
journey, type of car etc. Also, it will need an
identification number. Using these details, the tool 1.2 CHAT-BOT IN USE
shall help the customer to book a car for the journey. A chat-bot is an automated program that interacts with
It can also keep the information of number of customers like a human would and cost little to
bookings in current month or in last 6 month or in nothing to engage with. chat-bots attend to customers
last year. This helps them to track company business at all times of the day and week and are not limited by
and their earning in any month or in any year. Based time or a physical location. This makes its
on this information they can take decision regarding implementation appealing to a lot of businesses that
their business development. It also provides another may not have the manpower or financial resources to
feature that the admin can manually chat with their keep employees working around the clock.
customers in case of any technical difficulties. It also
acts as a bridge for both customers and the company. A chat-bot works in a couple of ways: set guidelines
It saves both time and labor. The main advantage is and Machine Learning. A chat-bot that functions with
that the user shall be able to choose a car depending a set of guidelines in place is limited in its
on his budget. conversation. It can only respond to a set number of
requests and vocabulary and is only as intelligent as its
I. INTRODUCTION programming code. An example of a limited bot is an
automated banking bot that asks the caller some
Artificial intelligence chat-bot is a technology that questions to understand what the caller wants to be
makes interactions between man and machines using done. The bot would make a command like “Please tell
natural language possible. From literature, we found me what I can do for you by saying account balances,
out that in general, chat-bot are functions like a typical account transfer, or bill payment.” If the customer
search engine. Although chat-bot just produced only responds with "credit card balance," the bot would not
one output instead of multiple outputs/results, the understand the request and would proceed to either
basic process flow is the same where each time an repeat the command or transfer the caller to a human
input is entered, the new search will be done. Nothing assistant.
1. Easy to use:
Amazon Lex provides an easy-to-use console to guide
you through the process of creating your own chat-bot
in minutes, building conversational interfaces into
your applications. You supply just a few example
phrases and Amazon Lex builds a complete natural
language model through which your user can interact
using voice and text, to ask questions, get answers, and
reports AWS has over a third of the market at 32.4%, complete sophisticated tasks.
with Azure following behind at half that amount
17.6%, and Google Cloud at 6%. 2. Seamlessly deploy and scale:
With Amazon Lex, you can build, test, and deploy
your chat-bots directly from the Amazon Lex console.
Amazon Lex enables you to easily publish your voice
or text chat-bots to mobile devices, web apps, and chat
services such as Facebook Messenger, Slack, and
Twilio SMS. Once published, your Amazon Lex bot
processes voice or text input in conversation with your
end-users. Amazon Lex is a fully managed service so
as your user engagement increases, you don’t need to
worry about provisioning hardware and managing
infrastructure to power your bot experience.
Node.js is similar in design to, and influenced by, IV. INTEGRATING BOT WITH OUR WEB
systems like Ruby's Event Machine and Python's APPLICATION
Twisted. Node.js takes the event model a bit further. It
presents an event loop as a runtime construct instead After configuring lambda function with our bot, we
of as a library. In other systems, there is always a could integrate our bot in our concerned web
blocking call to start the event-loop. Typically, application. We have created a website called
behavior is defined through callbacks at the beginning Kommunicate.io . In the back end we have a done a
of a script, and at the end a server is started through a coding part we could easily integrate our bot. It just
blocking call like EventMachine::run(). In Node.js, normally asks Access Id(This will be provided by
there is no such start-the-event-loop call. Node.js amazon while purchasing amazon cloud services),
simply enters the event loop after executing the input Secret access key(This will be provided while creating
script. Node.js exits the event loop when there are no a bot in amazon lex), Region( This is a server where
more callbacks to perform. This behavior is like we developed our bot), Name of the bot in amazon lex,
browser JavaScript — the event loop is hidden from alias name. After completing this form we can directly
the user. integrate our bot profile. This is a step where our bot
gets deployed in our web application.
HTTP is a first-class citizen in Node.js, designed with
streaming and low latency in mind. This makes
Node.js well suited for the foundation of a web library
or framework.