Generating Chat Bots from Web API Specifications
Title | Generating Chat Bots from Web API Specifications |
Publication Type | Conference Paper |
Year of Publication | 2017 |
Authors | Vaziri, Mandana, Mandel, Louis, Shinnar, Avraham, Siméon, Jérôme, Hirzel, Martin |
Conference Name | Proceedings of the 2017 ACM SIGPLAN International Symposium on New Ideas, New Paradigms, and Reflections on Programming and Software |
Publisher | ACM |
Conference Location | New York, NY, USA |
ISBN Number | 978-1-4503-5530-8 |
Keywords | cloud, compilers, conversational agents, Human Behavior, Metrics, pubcrawl, rest, Scalability |
Abstract | Companies want to offer chat bots to their customers and employees which can answer questions, enable self-service, and showcase their products and services. Implementing and maintaining chat bots by hand costs time and money. Companies typically have web APIs for their services, which are often documented with an API specification. This paper presents a compiler that takes a web API specification written in Swagger and automatically generates a chat bot that helps the user make API calls. The generated bot is self-documenting, using descriptions from the API specification to answer help requests. Unfortunately, Swagger specifications are not always good enough to generate high-quality chat bots. This paper addresses this problem via a novel in-dialogue curation approach: the power user can improve the generated chat bot by interacting with it. The result is then saved back as an API specification. This paper reports on the design and implementation of the chat bot compiler, the in-dialogue curation, and working case studies. |
URL | https://dl.acm.org/doi/10.1145/3133850.3133864 |
DOI | 10.1145/3133850.3133864 |
Citation Key | vaziri_generating_2017 |