Building a Chatbot with Serverless Computing

Mengting Yan, Paul C. Castro, P. Cheng, Vatche Isahagian
{"title":"Building a Chatbot with Serverless Computing","authors":"Mengting Yan, Paul C. Castro, P. Cheng, Vatche Isahagian","doi":"10.1145/3007203.3007217","DOIUrl":null,"url":null,"abstract":"Chatbots are emerging as the newest platform used by millions of consumers worldwide due in part to the commoditization of natural language services, which provide provide developers with many building blocks to create chatbots inexpensively. However, it is still difficult to build and deploy chatbots. Developers need to handle the coordination of the cognitive services to build the chatbot interface, integrate the chatbot with external services, and worry about extensibility, scalability, and maintenance. In this work, we present the architecture and prototype of a chatbot using a serverless platform, where developers compose stateless functions together to perform useful actions. We describe our serverless architecture based on function sequences, and how we used these functions to coordinate the cognitive microservices in the Watson Developer Cloud to allow the chatbot to interact with external services. The serverless model improves the extensibility of our chatbot, which currently supports 6 abilities: location based weather reports, jokes, date, reminders, and a simple music tutor.","PeriodicalId":377193,"journal":{"name":"Proceedings of the 1st International Workshop on Mashups of Things and APIs","volume":"4 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2016-12-12","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"134","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings of the 1st International Workshop on Mashups of Things and APIs","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/3007203.3007217","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 134

Abstract

Chatbots are emerging as the newest platform used by millions of consumers worldwide due in part to the commoditization of natural language services, which provide provide developers with many building blocks to create chatbots inexpensively. However, it is still difficult to build and deploy chatbots. Developers need to handle the coordination of the cognitive services to build the chatbot interface, integrate the chatbot with external services, and worry about extensibility, scalability, and maintenance. In this work, we present the architecture and prototype of a chatbot using a serverless platform, where developers compose stateless functions together to perform useful actions. We describe our serverless architecture based on function sequences, and how we used these functions to coordinate the cognitive microservices in the Watson Developer Cloud to allow the chatbot to interact with external services. The serverless model improves the extensibility of our chatbot, which currently supports 6 abilities: location based weather reports, jokes, date, reminders, and a simple music tutor.
使用无服务器计算构建聊天机器人
聊天机器人正在成为全球数百万消费者使用的最新平台,部分原因是自然语言服务的商品化,这为开发人员提供了许多构建模块,以低成本创建聊天机器人。然而,构建和部署聊天机器人仍然很困难。开发人员需要处理认知服务的协调,以构建聊天机器人接口,将聊天机器人与外部服务集成,并考虑可扩展性、可伸缩性和维护。在这项工作中,我们展示了使用无服务器平台的聊天机器人的体系结构和原型,开发人员将无状态函数组合在一起以执行有用的操作。我们描述了基于功能序列的无服务器架构,以及我们如何使用这些功能来协调Watson Developer Cloud中的认知微服务,以允许聊天机器人与外部服务进行交互。无服务器模型提高了我们聊天机器人的可扩展性,它目前支持6种功能:基于位置的天气预报、笑话、日期、提醒和一个简单的音乐导师。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信