This article was written as part of a capstone project for Data Science & Machine Learning Immersive course at Xccelerate. We discussed our chatbot in detail including the framework, architecture, and design behind our bot, as well as some challenges we faced in the process.
本文是Xccelerate 数据科学与机器学习沉浸式课程的基本项目的一部分。 我们详细讨论了聊天机器人,包括其背后的框架,架构和设计,以及在此过程中面临的一些挑战。
前言 (Preface)
The idea of creating a virtual assistant chatbot first came to mind when we were brainstorming ideas for our capstone project. This sparked our interest for a few reasons:
当我们为顶峰项目集思广益时,首先想到了创建虚拟助手聊天机器人的想法。 这引起了我们的兴趣,原因如下:
1. We wanted to create a product that we would genuinely enjoy using and that it can make our lives easier in some way.
1.我们想要创建一种我们真正喜欢使用的产品,并且该产品可以使我们的生活更加轻松。
2. Making a chatbot is a relatively new concept to us but it is one that we are keen on learning more about because chatbots are fun to use.
2.制作聊天机器人对我们来说是一个相对较新的概念,但是我们渴望学习更多,因为聊天机器人使用起来很有趣。
3. We have the impression that the current market has a high demand for chatbots and its popularity is exponentially growing over the years.
3.我们给人的印象是,当前市场对聊天机器人的需求很高,并且其受欢迎程度多年来呈指数增长。
For the reasons given above, we began our journey to becoming self-proclaimed chatbot experts.
由于上述原因,我们开始了成为自称为聊天机器人专家的旅程。
问题陈述 (Problem Statement)
Upon further research, we learned that the chatbot industry is continuously growing and that chatbots have become a necessity in industries like finance. The accessibility and ease of a customized chatbot as well as the increased utilization among messaging apps have resulted in an inevitable growth in the tech and chatbot industry[1]. However, the problem we face today is that while chatbots can increase efficiencies on both business and consumer ends, there are still some technical limitations that hinder customer service experiences such as slow response time and poor connectivity.
通过进一步研究,我们了解到聊天机器人行业正在不断发展,并且聊天机器人已成为金融等行业的必需品。 定制的聊天机器人的可访问性和易用性以及消息传递应用程序之间的利用率不断提高,导致了技术和聊天机器人行业的必然增长[1]。 但是,我们今天面临的问题是,尽管聊天机器人可以提高业务和消费者端的效率,但仍然存在一些技术上的局限性,例如响应时间慢和连接性差,阻碍了客户服务体验。
In this project, we aim to develop a chatbot that can answer questions at any time of day, effectively addresses user’s requests, and able to drive a good conversation that resembles a human. Instead of creating one for a particular enterprise, we decide to create a digital assistant that can help everyone out. Our motivation stems from the fact that we are constantly juggling several tasks at once and going back and forth with different apps for different things. A good virtual assistant can save time and make life easier for its user. Hence, we are determined to develop a chatbot that combines several crucial functions for daily tasks.
在这个项目中,我们的目标是开发一个聊天机器人,该聊天机器人可以在一天中的任何时间回答问题,有效地解决用户的要求,并能够推动类似于人的良好对话。 我们决定创建一个可以帮助所有人的数字助理,而不是为特定企业创建一个。 我们的动力来自这样一个事实,即我们不断地同时处理多个任务,并使用不同的应用程序来处理不同的事情。 好的虚拟助手可以节省时间,并使用户的生活更轻松。 因此,我们决心开发一种聊天机器人,该机器人结合了日常任务的几个关键功能。
什么是CLERKbot? (What is CLERKbot?)
CLERKbot is a 6-in-1 chatbot that operates on Telegram. It allows users to connect to Google calendar, sets appointments, and displays reminders according to the schedule that day. It can activate Google Maps when users need directions to their destinations. Additionally, CLERKbot offers weather forecasts, searches for restaurants nearby, and provides a list of locations that patients with COVID-19 had visited in Hong Kong.
CLERKbot是在Telegram上运行的6合1聊天机器人。 它允许用户连接到Google日历, 设置约会并根据当天的时间表显示提醒 。 当用户需要前往目的地的路线时,它可以激活Google地图。 此外,CLERKbot还提供天气预报,搜索附近的餐馆 ,并提供COVID-19患者在香港访问过的地点的列表。