Building a Chatbot with Serverless Computing
Building a Chatbot with Serverless Computing
复制标题
使用无服务器计算构建聊天机器人
DOI:
--
复制
发表时间:
2016
期刊:
影响因子:
--
通讯作者:
Vatche Isahagian
中科院分区:
文献类型:
--
作者:
Mengting Yan;Paul C. Castro;P. Cheng;Vatche Isahagian
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.