Cargando…
API2CAN: a dataset & service for canonical utterance generation for REST APIs
OBJECTIVES: Recently natural language interfaces (e.g., chatbots) have gained enormous attention. Such interfaces execute underlying application programming interfaces (APIs) based on the user's utterances to perform tasks (e.g., reporting weather). Supervised approaches for building such inter...
Autores principales: | , |
---|---|
Formato: | Online Artículo Texto |
Lenguaje: | English |
Publicado: |
BioMed Central
2021
|
Materias: | |
Acceso en línea: | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8456598/ https://www.ncbi.nlm.nih.gov/pubmed/34551808 http://dx.doi.org/10.1186/s13104-021-05593-w |
_version_ | 1784570899417006080 |
---|---|
author | Yaghoub-Zadeh-Fard, Mohammad-Ali Benatallah, Boualem |
author_facet | Yaghoub-Zadeh-Fard, Mohammad-Ali Benatallah, Boualem |
author_sort | Yaghoub-Zadeh-Fard, Mohammad-Ali |
collection | PubMed |
description | OBJECTIVES: Recently natural language interfaces (e.g., chatbots) have gained enormous attention. Such interfaces execute underlying application programming interfaces (APIs) based on the user's utterances to perform tasks (e.g., reporting weather). Supervised approaches for building such interfaces rely upon a large set of user utterances paired with APIs. Collecting such pairs is typically starts with obtaining initial utterances for a given API method. Generating initial utterances can be considered as a machine translation task in which an API method is translated into an utterance. However, the key challenge is the lack of training samples for training domain-independent translation models. In this paper, we propose a dataset for training supervised models to generate initial utterances for APIs. DATA DESCRIPTION: The dataset contains 14,370 pairs of API methods and utterances. It is built automatically by converting method descriptions of a large number of APIs to user utterances; and it is cleaned manually to ensure quality. The dataset is also accompanied with a set of microservices (e.g., translating API methods to utterances) which can facilitate the process of collecting training samples for building natural language interfaces. |
format | Online Article Text |
id | pubmed-8456598 |
institution | National Center for Biotechnology Information |
language | English |
publishDate | 2021 |
publisher | BioMed Central |
record_format | MEDLINE/PubMed |
spelling | pubmed-84565982021-09-22 API2CAN: a dataset & service for canonical utterance generation for REST APIs Yaghoub-Zadeh-Fard, Mohammad-Ali Benatallah, Boualem BMC Res Notes Data Note OBJECTIVES: Recently natural language interfaces (e.g., chatbots) have gained enormous attention. Such interfaces execute underlying application programming interfaces (APIs) based on the user's utterances to perform tasks (e.g., reporting weather). Supervised approaches for building such interfaces rely upon a large set of user utterances paired with APIs. Collecting such pairs is typically starts with obtaining initial utterances for a given API method. Generating initial utterances can be considered as a machine translation task in which an API method is translated into an utterance. However, the key challenge is the lack of training samples for training domain-independent translation models. In this paper, we propose a dataset for training supervised models to generate initial utterances for APIs. DATA DESCRIPTION: The dataset contains 14,370 pairs of API methods and utterances. It is built automatically by converting method descriptions of a large number of APIs to user utterances; and it is cleaned manually to ensure quality. The dataset is also accompanied with a set of microservices (e.g., translating API methods to utterances) which can facilitate the process of collecting training samples for building natural language interfaces. BioMed Central 2021-09-22 /pmc/articles/PMC8456598/ /pubmed/34551808 http://dx.doi.org/10.1186/s13104-021-05593-w Text en © The Author(s) 2021 https://creativecommons.org/licenses/by/4.0/Open AccessThis article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article's Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article's Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/ (https://creativecommons.org/licenses/by/4.0/) . The Creative Commons Public Domain Dedication waiver (http://creativecommons.org/publicdomain/zero/1.0/ (https://creativecommons.org/publicdomain/zero/1.0/) ) applies to the data made available in this article, unless otherwise stated in a credit line to the data. |
spellingShingle | Data Note Yaghoub-Zadeh-Fard, Mohammad-Ali Benatallah, Boualem API2CAN: a dataset & service for canonical utterance generation for REST APIs |
title | API2CAN: a dataset & service for canonical utterance generation for REST APIs |
title_full | API2CAN: a dataset & service for canonical utterance generation for REST APIs |
title_fullStr | API2CAN: a dataset & service for canonical utterance generation for REST APIs |
title_full_unstemmed | API2CAN: a dataset & service for canonical utterance generation for REST APIs |
title_short | API2CAN: a dataset & service for canonical utterance generation for REST APIs |
title_sort | api2can: a dataset & service for canonical utterance generation for rest apis |
topic | Data Note |
url | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8456598/ https://www.ncbi.nlm.nih.gov/pubmed/34551808 http://dx.doi.org/10.1186/s13104-021-05593-w |
work_keys_str_mv | AT yaghoubzadehfardmohammadali api2canadatasetserviceforcanonicalutterancegenerationforrestapis AT benatallahboualem api2canadatasetserviceforcanonicalutterancegenerationforrestapis |