arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2309.01456cs.CL
收藏

LLM 与基础设施即代码用例

LLM and Infrastructure as a Code use case

ENS Rennes(雷恩高等师范学校);SCC France(SCC法国)

Thibault Chanus, Michael Aubertin

AI总结:

本文探讨利用生成式 LLM 将自然语言描述转换为 Ansible YAML 代码,以生成和管理 roles 与 playbooks,并分析可行方向及工业应用。

摘要:

云计算以及精益管理、敏捷等管理方法论的演进,促使系统构建和维护方式发生深刻转变。这些实践被统称为“DevOps”。这种对信息系统或应用及其组成组件配置进行描述的方法,推动了描述性语言及专用引擎的发展,以实现系统管理任务自动化。其中,Ansible(引擎)与 YAML(描述性语言)的组合是市场上最主流的两种工具,主要面临来自 Terraform 的显著竞争。本文探讨了一种生成和管理 Ansible YAML roles 与 playbooks 的解决方案,利用生成式 LLM(语言模型)将人类描述转换为代码。研究重点在于识别可行方向并概述潜在工业应用。注:本实验选择不使用 Ansible Lightspeed,原因是其依赖 IBM Watson 模型,且未找到任何公开参考资料。关于这一卓越技术的全面信息,可直接在合作伙伴 RedHat 的网站上查阅[1]。

英文摘要:

Cloud computing and the evolution of management methodologies such as Lean Management or Agile entail a profound transformation in both system construction and maintenance approaches. These practices are encompassed within the term "DevOps." This descriptive approach to an information system or application, alongside the configuration of its constituent components, has necessitated the development of descriptive languages paired with specialized engines for automating systems administration tasks. Among these, the tandem of Ansible (engine) and YAML (descriptive language) stands out as the two most prevalent tools in the market, facing notable competition mainly from Terraform. The current document presents an inquiry into a solution for generating and managing Ansible YAML roles and playbooks, utilizing Generative LLMs (Language Models) to translate human descriptions into code. Our efforts are focused on identifying plausible directions and outlining the potential industrial applications. Note: For the purpose of this experiment, we have opted against the use of Ansible Lightspeed. This is due to its reliance on an IBM Watson model, for which we have not found any publicly available references. Comprehensive information regarding this remarkable technology can be found [1] directly on our partner's website, RedHat.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑