Using a Feedback Loop for LLM-based Infrastructure as Code Generation
Palavalli, Mayur Amarnath, Santolucito, Mark
–arXiv.org Artificial Intelligence
Code generation with Large Language Models (LLMs) has helped to increase software developer productivity in coding tasks, but has yet to have significant impact on the tasks of software developers that surround this code. In particular, the challenge of infrastructure management remains an open question. We investigate the ability of an LLM agent to construct infrastructure using the Infrastructure as Code (IaC) paradigm. We particularly investigate the use of a feedback loop that returns errors and warnings on the generated IaC to allow the LLM agent to improve the code. We find that, for each iteration of the loop, its effectiveness decreases exponentially until it plateaus at a certain point and becomes ineffective.
arXiv.org Artificial Intelligence
Nov-28-2024
- Country:
- Europe > Sweden
- Vaestra Goetaland > Gothenburg (0.04)
- North America > United States
- California > Alameda County
- Fremont (0.04)
- New York > New York County
- New York City (0.14)
- California > Alameda County
- Europe > Sweden
- Genre:
- Research Report (0.52)
- Industry:
- Information Technology (0.55)
- Technology: