With the development of REST (REpresentational State Transfer) APIs, many applications have been designed to harness their potential. As such, bots emerged recently as natural interfaces to facilitate conversations between humans and API-accessible services. Existing bot development platforms (e.g., Dialogflow, Wit.ai) facilitate building bots, but bot developers are still required to provide training data by defining corresponding intents (user's intention such as booking a hotel) and entities (e.g., hotel location) for each API. Moreover, bot developers are required to build and deploy webhook functions to invoke APIs on intents detection. In this paper, we introduce REST2Bot, a tool that addresses these shortcomings (e.g., translating APIs to Intents, and invoking APIs based on detected Intents) in bot development frameworks to automate several tasks in the life cycle of the bot development process. REST2Bot relies on automated approaches for parsing OpenAPI specifications, generating training data, building bots on desired bot development frameworks, and generating deployable webhook functions to map intents and entities to APIs.

REST2Bot: Bridging the Gap between Bot Platforms and REST APIs / Yaghoub-Zadeh-Fard, Mohammad-Ali; Zamanirad, Shayan; Benatallah, Boualem; Casati, Fabio. - (2020), pp. 245-248. (Intervento presentato al convegno WWW Webconf 2020 tenutosi a Taipei Taiwan nel 20 -24 April, 2020) [10.1145/3366424.3383551].

REST2Bot: Bridging the Gap between Bot Platforms and REST APIs

Benatallah, Boualem;Casati, Fabio
2020-01-01

Abstract

With the development of REST (REpresentational State Transfer) APIs, many applications have been designed to harness their potential. As such, bots emerged recently as natural interfaces to facilitate conversations between humans and API-accessible services. Existing bot development platforms (e.g., Dialogflow, Wit.ai) facilitate building bots, but bot developers are still required to provide training data by defining corresponding intents (user's intention such as booking a hotel) and entities (e.g., hotel location) for each API. Moreover, bot developers are required to build and deploy webhook functions to invoke APIs on intents detection. In this paper, we introduce REST2Bot, a tool that addresses these shortcomings (e.g., translating APIs to Intents, and invoking APIs based on detected Intents) in bot development frameworks to automate several tasks in the life cycle of the bot development process. REST2Bot relies on automated approaches for parsing OpenAPI specifications, generating training data, building bots on desired bot development frameworks, and generating deployable webhook functions to map intents and entities to APIs.
2020
29th International World Wide Web Conference, WWW 2020, companion
NEW YORK, NY, UNITED STATES
ASSOC COMPUTING MACHINERY
9781450370240
Yaghoub-Zadeh-Fard, Mohammad-Ali; Zamanirad, Shayan; Benatallah, Boualem; Casati, Fabio
REST2Bot: Bridging the Gap between Bot Platforms and REST APIs / Yaghoub-Zadeh-Fard, Mohammad-Ali; Zamanirad, Shayan; Benatallah, Boualem; Casati, Fabio. - (2020), pp. 245-248. (Intervento presentato al convegno WWW Webconf 2020 tenutosi a Taipei Taiwan nel 20 -24 April, 2020) [10.1145/3366424.3383551].
File in questo prodotto:
File Dimensione Formato  
REST2Bot: Bridging the Gap between Bot Platforms and REST APIs.pdf

accesso aperto

Tipologia: Post-print referato (Refereed author’s manuscript)
Licenza: Tutti i diritti riservati (All rights reserved)
Dimensione 629.64 kB
Formato Adobe PDF
629.64 kB Adobe PDF Visualizza/Apri
3366424.3383551.pdf

Solo gestori archivio

Tipologia: Versione editoriale (Publisher’s layout)
Licenza: Tutti i diritti riservati (All rights reserved)
Dimensione 1.82 MB
Formato Adobe PDF
1.82 MB Adobe PDF   Visualizza/Apri

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/11572/397750
Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 4
  • ???jsp.display-item.citation.isi??? 3
social impact