file
stringlengths
53
109
content
stringlengths
468
25.8M
runtime/openapi-directory/APIs/portfoliooptimizer.io/1.0.9/openapi.yaml
"openapi: 3.0.1\nservers:\n - url: https://api.portfoliooptimizer.io/v1\n - url: https://eu-west-1(...TRUNCATED)
runtime/openapi-directory/APIs/covid19-api.com/1.2.6/openapi.yaml
"openapi: 3.0.2\ninfo:\n title: COVID-19 data API\n version: 1.2.6\n x-apisguru-categories:\n (...TRUNCATED)
runtime/openapi-directory/APIs/svix.com/1.4/openapi.yaml
"openapi: 3.0.2\ninfo:\n description: |\n Welcome to the Svix API documentation!\n\n Useful l(...TRUNCATED)
runtime/openapi-directory/APIs/iqualify.com/v1/openapi.yaml
"openapi: 3.0.0\nservers:\n - url: https://api.iqualify.com/v1\ninfo:\n contact:\n x-twitter: h(...TRUNCATED)
runtime/openapi-directory/APIs/authentiq.io/1.0/openapi.yaml
"openapi: 3.0.0\nservers:\n - url: https://connect.authentiq.io\ninfo:\n contact:\n email: hell(...TRUNCATED)
runtime/openapi-directory/APIs/sakari.io/1.0.1/openapi.yaml
"openapi: 3.0.0\nservers:\n - description: Sakari Production\n url: https://api.sakari.io\ninfo:(...TRUNCATED)
runtime/openapi-directory/APIs/n-auth.com/2.2/swagger.yaml
"swagger: \"2.0\"\nschemes:\n - https\nhost: api.nextauth.com\nbasePath: /\ninfo:\n contact:\n (...TRUNCATED)
runtime/openapi-directory/APIs/autodealerdata.com/1.0/openapi.yaml
"openapi: 3.0.2\ninfo:\n description: |-\n <div style=\"\">This API provides access to our Autom(...TRUNCATED)
runtime/openapi-directory/APIs/languagetool.org/1.1.2/swagger.yaml
"swagger: \"2.0\"\nschemes:\n - https\nhost: api.languagetoolplus.com\nbasePath: /v2\ninfo:\n cont(...TRUNCATED)
runtime/openapi-directory/APIs/tvmaze.com/1.0/openapi.yaml
"openapi: 3.0.0\nservers:\n - url: https://api.tvmaze.com/v1\n - url: http://api.tvmaze.com/v1\nin(...TRUNCATED)

Dataset Card for OpenAPI Completion Refined

A human-refined dataset of OpenAPI definitions based on the APIs.guru OpenAPI directory. The dataset was used to fine-tune Code Llama for OpenAPI completion in the "Optimizing Large Language Models for OpenAPI Code Completion " paper.

Dataset Details

Dataset Description

The dataset was collected from the APIs.guru OpenAPI definitions directory. The directory contains more than 4,000 definitions in yaml format. Analysis of the repository revealed that about 75% of the definitions in the directory are produced by a handful of major companies like Amazon, Google, and Microsoft. To avoid the dataset bias towards a specific producer, the maximum number of definitions from a single producer was limited to 20. Multiple versions of the same API were also excluded from the dataset as they are likely to contain very similar definitions.

Dataset Sources

Citation

If you found the dataset or the fine-tuning code helpful, please reference the original paper:

BibTeX:

@misc{petryshyn2024optimizing,
      title={Optimizing Large Language Models for OpenAPI Code Completion}, 
      author={Bohdan Petryshyn and Mantas Lukoševičius},
      year={2024},
      eprint={2405.15729},
      archivePrefix={arXiv},
      primaryClass={id='cs.SE' full_name='Software Engineering' is_active=True alt_name=None in_archive='cs' is_general=False description='Covers design tools, software metrics, testing and debugging, programming environments, etc. Roughly includes material in all of ACM Subject Classes D.2, except that D.2.4 (program verification) should probably have Logics in Computer Science as the primary subject area.'}
}

APA:

Petryshyn, B., & Lukoševičius, M. (2024). Optimizing Large Language Models for OpenAPI Code Completion. arXiv preprint arXiv:2405.15729.

Downloads last month
5
Edit dataset card