Chatbot methods and popular tools and systemFor a deeper understanding of Chatbot, we can define it as a computer program thatimpersonates human conversations in its natural format, whic
Trang 1VIETNAM GENERAL CONFEDERATION OF LABOUR
TON DUC THANG UNIVERSITY FACULTY OF INFORMATION TECHNOLOGY
INTRODUCTION TO LANGUAGE PROCESSING
Trang 2VIETNAM GENERAL CONFEDERATION OF LABOUR
TON DUC THANG UNIVERSITY FACULTY OF INFORMATION TECHNOLOGY
INTRODUCTION TO LANGUAGE PROCESSING
Trang 3PROJECT IS COMPLETED
AT TON DUC THANG UNIVERSITY
I commit that this project is my / our own project and is supervised by Dr Le AnhCuong The contents, results in this topic are honest and unpublished in any form before.The data in the tables for analyzing, commenting and evaluating are collected fromvarious sources and by the authors and the citations are specified in the Referencessection
In addition, a number of comments and assessments as well as data from otherauthors and organizations that are also used in the project are referenced and annotatedclearly
If this project has any cheating or plagiarism, I take full responsibility for the content of my project Ton Duc Thang University is not related to infringement of
copyright caused by me during the process of this project implementation
Ho Chi Minh City, May 1 , 2022 st
Authors
Trang 4ABSTRACT
Trang 6LIST OF SYMBOLS AND ABBREVIATIONSSYMBOLS
ABBREVIATIONS
Trang 7LIST OF TABLES, FIGURES, GRAPHSLIST OF FIGURES
No table of figures entries found.
LIST OF TABLES, GRAPHS
Trang 8Chatbot methods and popular tools and system
For a deeper understanding of Chatbot, we can define it as a computer program thatimpersonates human conversations in its natural format, which may include text (sincethe advent of bots) or spoken language using artificial intelligence (AI)techniques such as Natural Language Processing (NLP) and audio analysis One of theprimary aspects of an AI-based bot is that it is dynamic
AI-based bots learn from the previous interactions and in retrospect, become moreintelligent to handle conversations that are more complex
How do the Chatbots function?
The main technology that lies behind chatbots is NLP and Machine Learning
When a question is presented to a chatbot, a series or complex algorithms process thereceived input, understand what the user is asking, and based on that, determines theanswer suitable to the question
Chatbots have to rely on the ability of the algorithms to detect the complexity of bothtext and spoken words Some chatbots perform very well to the point it becomesdifficult to differentiate whether the user is a machine or a human
However, handling complex conversations is a huge challenge; where there is a usage
of various figures of speech, it may be difficult for machines to understand
Trang 9Types of Chatbots
Chatbots are categorized into two different types Let us look at both and see how theyfunction
Rule-based chatbots
Chatbots follow a set of established rules or flows to respond to questions posted by
a user All your simple applications contain rule-based chatbots, which respond toqueries based on the rules they are trained on For instance, a weather application,where you ask for weather forecast and it fetches the data from different sources andresponds with the information
Rule-based chatbots may not be able to hold complex conversations It can onlyaccomplish the tasks it is programmed to perform unless more improvements aremade by the developer
Machine Learning-based chatbots
Chatbots that are based on machine learning can hold more complex conversations asthey try to process the question and understand the meaning behind the question Itlearns from the previous conversation and enables itself to handle more complexquestions in the future
Now, let’s take a look at some of its use cases
Trang 10Use Cases of Chatbots
There are various interesting chatbots, which can make your life easy For companies,chatbot development focuses around improving their business processes and providebetter user experience to their customers
It is also being utilized to serve customers on social media platforms like Facebookand others However, most of the Facebook bots are easy to develop and use, as many
of them do not need coding, and anyone can create it
One of the popular modern chatbots is Joy, specifically developed by Danny Freed to track and improve mental health Joy is developed to be a friend via
Facebook Messenger
It sends daily check-ins, and offers tips on dealing with different emotional
experiences, like anxiety, helping you make life more enjoyable The inspiration
behind developing Joy came from a close friend of Freed who committed suicide.
For now, Joy can only ask questions and can generate weekly reports of your moodbased on the interactions you have with it Soon, you will be able to derive long-termsolutions and therapies aimed at improving your mental health based on interactionsover time
Let’s take a look at some of the chatbots that are used in various industry segments
Trang 11It uses deep learning algorithms along with Natural Language Understanding (NLU)and computer vision to help users express their shopping needs and derive resultsbased on these commands.
Relevant Article: 5 Deep Learning Trends that will Rule 2019
Another interesting bot is Kip, which can handle any number of complex orders of ateam Instead of a single shopping cart for each user, it has the option of group cart.This allows different members on one team to place different orders at the same timeand at checkout, the admin pays the final amount This is a unique way of enablingshopping, especially at workplaces
Trang 12Healthcare Support
UCLA (University of California, Los Angeles) created a virtual radiologist thatprovides support for clinical decision for patients
The virtual radiologist bot is based on Artificial Intelligence (AI), and the main aim
of the bot is to provide the doctor with the ability to communicate necessaryinformation to the patient with the overview of radiology treatment or inform themabout the next steps in a treatment plan, in real-time
The virtual assistant was built on a foundation of over 2,000 example data pointsdesigned to mirror questions that commonly come up during a consultation with aninterventional radiologist
Woebot is another chatbot, which is created to track your daily conversations andother daily activities that give insights into the mood of the patient and help them toevaluate the patient’s mental health and give required responses
Trang 13bot, fetches or mines data from audio conversations and finds relevant information to
be fed to the CRM
Salesforce has developed a bot, which fetches customer data for the personally talking
to the customer on Slack Though there may be a variety of data present in thedatabase, it only fetches the relevant data to be displayed on Slack
Effective Project Management
Proper project management is a key element for the success of any project Someautomation at the project management level can help aid in effective and efficientrelease
Bots like Meekan help in automatically matching schedules of team members, andhelp in arranging team meetings, avoiding any schedule clashes, etc This saves time
in co-ordinating through emails or calendar invites and makes collaboration easy byjust asking the bot to schedule a meeting based on everyone’s convenience
Another important challenge can be task management To streamline taskmanagement, the use of chatbots like Howdy can save manual efforts when it comes
to promoting content PMBot can automatically generate status reports, minimizingthe need for status follow-ups or meetings with team members
Tools to Develop Chatbots
There has always been a common confusion when it comes to platforms There areplatforms for chatbot development and others that are for chatbot publishing The
Trang 14main difference here is that publishing platforms are environments where you caninteract with the bot On the other hand, development platforms are tools that enablethe development of bots Let us take a look at some of the most commonly usedchatbot development platforms for custom chatbots.
Chatbot Development Platforms
IBM Watson
Watson is one of the most preferred platforms when it comes to building AI chatbots.The advantage of Watson is its capability to serve different verticals and managecomplex interactions with ease
When you are developing a bot with Watson, start by gathering your requirements tounderstand, what scenarios need to be addressed by the bot Once the scope is defined,defining personas will help you identify and create an empathy map Prepare a list ofintents, which are the goals and purposes expressed in the input given by the user Youcan create an instance of Watson Assistant and use the provided tools to calibrate theIntents and Entities (the appropriate responses against the Intent) This step isfollowed by defining dialogue flow and testing procedures
The next phase is to develop the application or microservice that will interact with theWatson Assistant Implement business logic to handle the context of the interactionand inculcate other components to complement the business requirements
Watson is ideal to develop bots on various social media platforms along with yourwebsite
Trang 15The Azure bot service provides the developer with SDK and portal, along with a botconnector service that will allow the developer to connect to any social mediaplatform The SDK also helps with debugging your bot and provides a large selection
of sample bots that can be used as building blocks for your bot This Cloud-basedservice is accessible from almost anywhere and provides multiple language support
The tools provided for the developers, assist them to create highly interactive bots and
it is considered as a highly scalable service
QnA Maker
This is another bot from Microsoft, which is exactly as the name suggests It can be ofgreat help to any business that is asked frequent questions from their customersregarding their products QnA Maker allows you to develop and train your bots foranswering simple questions, based on your FAQ URLs, any structured documents,and manuals for the product within a matter of minutes
Moreover, the use of Microsoft Cognitive Services can also enable the bot to interact
as humanly as possible It also allows you to integrate third-party APIs and solutions,enabling a better user experience
Semantic Machines
This company focuses on developing next-generation conversation AI-based chatbots
It was recently acquired by Microsoft to create more lifelike conversational bots.Semantic Machines offer a language independent platform that helps developers tobuild bots that can have understanding conversations rather than bots that follow a
Trang 16series of commands Since it supports various use cases, it is ideal for businesses thathave specific needs.
The features of Semantic Machines include conversation engine, deep learning,speech recognition and more that will aid the developer in creating intelligent andinteractive bots
Recast.ai
Recast.ai is a chatbot development platform that allows developers to build and traintheir bots according to the tasks they have to perform You can use Bot Builder toimplement conversation logic that will allow the bots to respond to predefinedquestions in a logical manner They provide messaging metrics and bot analytics tools
to enhance and improve the understanding of inputs and respond to them with relevantentities
Chatbot Deployment Platforms
Once chatbots are developed, they need to be deployed to a deployment platform Youwill have to choose a deployment platform based on your customer base However,the use of chatbots revolves mostly around social media platforms or virtual assistantfeatures in various devices Let us look at some of the emerging bot platformecosystems
Facebook Messenger
With over 1 billion users, there is no denying that Facebook has a wide reach aroundthe world For developers who are developing bots, this is a great platform to reach
Trang 17out to a bigger audience Facebook has been investing in bot development and hasprovided tools for users to create bots for their specific needs without writing a singleline of code Fast food joints like Burger King has leveraged the use of bots to servetheir customers by taking their order via Facebook Many businesses have usedFacebook to their advantage and improved ways of serving their customer base.
Slack
Slack is another popular messaging tool that is used mainly by businesses for internalcommunication or with customers Bot application like Standuply, integrated withSlack, help you manage and schedule meetings with your team and generate timelyreports or surveys Other bots like Tomatobot, help you manage larger projects withease by breaking them down into smaller chunks It reminds you to take breaks inbetween tasks, allowing you to perform effectively at work
Another great bot that can be used to manage data is Statsbot This bot connects otherplatforms such as Google Analytics, Stripe, Mixpanel and others to Slack It alsoreports any spikes or changes in your data while achieving your business milestones
Skype for Business
This is another popular instant messaging platform utilized by many businessesaround the world for their internal or external communication Bots like Skyscannerallow you to make travel arrangements right in your Skype window In addition, ithelps you to find the most affordable travel options Bots like Bing Image Previewand Getty Images allow you to search for images right from your Skype search bar
Trang 18Facebook has created a platform called Workplace, which can be used by businesses
as an internal IM messenger There have been some interesting bots on this platform,which can assist employees in their tasks New Starter Bot allows to slowly drip feedinformation to a new employee rather than the tedious approach of dumpingmaximum information on them, which may not lead to quick learning You can use it
to schedule training sessions and arrange tests or quizzes to note how much the newrecruit has learned
Other bots such as Mood Bot allow you to understand their satisfaction towards thecompany, allowing authorities to address their dissatisfaction and retaining youremployees
As more messaging platforms emerge, more bots are also being developed to dealwith different business-related scenarios, and improve your business processes alongwith making your jobs easier to execute
Kik
It is an instant messaging platform, used for internal communication in businesses.One of the most popular bots on this platform is The Weather Channel It forecasts theweather for you and lets you know if there is going to be any change in the weather.This is great for traveling professionals as they can plan their schedules accordingly
There are other messaging platforms with interesting bots that have been used to makebusiness operations smoother and easier