TensorX
返回文献探索

Paper · arXiv 2305.02783

Automated Code generation for Information Technology Tasks in YAML through Large Language Models

Saurabh Pujar, Luca Buratti, Xiaojie Guo, Nicolas Dupuis, Burn Lewis, Sahil Suneja, Atin Sood, Ganesh Nalawade, Matt Jones, Alessandro Morari, Ruchir Puri

2 upvotesMay 2, 2023arXiv 预印本
AI 摘要

A transformer-based model named Ansible Wisdom generates Ansible-YAML from natural language with performance similar to existing models, using a new dataset and novel performance metrics specifically for Ansible.

transformer-based modelAnsible-YAMLnatural-language to code generationperformance metricsIT Automation

Abstract

The recent improvement in code generation capabilities due to the use of large language models has mainly benefited general purpose programming languages. Domain specific languages, such as the ones used for IT Automation, have received far less attention, despite involving many active developers and being an essential component of modern cloud platforms. This work focuses on the generation of Ansible-YAML, a widely used markup language for IT Automation. We present Ansible Wisdom, a natural-language to Ansible-YAML code generation tool, aimed at improving IT automation productivity. Ansible Wisdom is a transformer-based model, extended by training with a new dataset containing Ansible-YAML. We also develop two novel performance metrics for YAML and Ansible to capture the specific characteristics of this domain. Results show that Ansible Wisdom can accurately generate Ansible script from natural language prompts with performance comparable or better than existing state of the art code generation models.

北京市昌平区探索星信息技术及软件开发工作室

京ICP备2026059466号
Automated Code generation for Information Technology Tasks in YAML through Large Language Models | TensorX