改进 OpenDevin:通过高级内存管理提升代码生成 LLM

Runyu He, Anyu Ying, Xiaoyu Hu
{"title":"改进 OpenDevin:通过高级内存管理提升代码生成 LLM","authors":"Runyu He, Anyu Ying, Xiaoyu Hu","doi":"10.54254/2755-2721/68/20241506","DOIUrl":null,"url":null,"abstract":"OpenDevin, a code generation AI tool, has emerged as a powerful assistant for both technical and non-technical users, offering a practical approach to coding challenges. Unlike traditional code generators that merely output code, OpenDevin excels by executing code directly in a console, allowing for immediate testing and verification. This functionality not only streamlines the coding process but also enhances learning and troubleshooting, making it accessible to a broader audience. In this project, we address several key challenges to improve OpenDevins effectiveness, especially in handling multi-round conversations and contextually relevant code generation. Our team identified and tackled two main challenges faced by OpenDevin: variety of input, and multi-step conversations. Through incorporating a series of functions to parse, summarize, and organize LLM agents memory logs, we significantly improved OpenDevin agents capabilities among a variety of tasks. The integration of efficient memory management led to a notable increase in accuracyfrom 44.4% to 88.9% in multi-round conversations, highlighting the importance of effective memory management in AI-powered coding tools. This report details our methodology, the challenges we faced, and the solutions we implemented, showcasing OpenDevins potential to revolutionize the way users from various backgrounds engage with coding tasks.","PeriodicalId":502253,"journal":{"name":"Applied and Computational Engineering","volume":"84 20","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2024-07-23","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Improving OpenDevin: Boosting code generation LLM through advanced memory management\",\"authors\":\"Runyu He, Anyu Ying, Xiaoyu Hu\",\"doi\":\"10.54254/2755-2721/68/20241506\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"OpenDevin, a code generation AI tool, has emerged as a powerful assistant for both technical and non-technical users, offering a practical approach to coding challenges. Unlike traditional code generators that merely output code, OpenDevin excels by executing code directly in a console, allowing for immediate testing and verification. This functionality not only streamlines the coding process but also enhances learning and troubleshooting, making it accessible to a broader audience. In this project, we address several key challenges to improve OpenDevins effectiveness, especially in handling multi-round conversations and contextually relevant code generation. Our team identified and tackled two main challenges faced by OpenDevin: variety of input, and multi-step conversations. Through incorporating a series of functions to parse, summarize, and organize LLM agents memory logs, we significantly improved OpenDevin agents capabilities among a variety of tasks. The integration of efficient memory management led to a notable increase in accuracyfrom 44.4% to 88.9% in multi-round conversations, highlighting the importance of effective memory management in AI-powered coding tools. This report details our methodology, the challenges we faced, and the solutions we implemented, showcasing OpenDevins potential to revolutionize the way users from various backgrounds engage with coding tasks.\",\"PeriodicalId\":502253,\"journal\":{\"name\":\"Applied and Computational Engineering\",\"volume\":\"84 20\",\"pages\":\"\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2024-07-23\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Applied and Computational Engineering\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.54254/2755-2721/68/20241506\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Applied and Computational Engineering","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.54254/2755-2721/68/20241506","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

摘要

代码生成人工智能工具 OpenDevin 已成为技术用户和非技术用户的得力助手,为解决编码难题提供了实用的方法。与传统的代码生成器仅仅输出代码不同,OpenDevin 的优势在于可以直接在控制台中执行代码,从而可以立即进行测试和验证。这一功能不仅简化了编码过程,还加强了学习和故障排除,使更多人可以使用它。在本项目中,我们解决了几个关键难题,以提高 OpenDevins 的效率,尤其是在处理多轮对话和根据上下文生成相关代码方面。我们的团队发现并解决了 OpenDevin 面临的两大挑战:输入的多样性和多步骤对话。通过整合一系列用于解析、总结和组织 LLM 代理内存日志的功能,我们显著提高了 OpenDevin 代理在各种任务中的能力。高效内存管理的整合使多轮对话的准确率从 44.4% 显著提高到 88.9%,这突出了有效内存管理在人工智能驱动的编码工具中的重要性。本报告详细介绍了我们的方法、面临的挑战和实施的解决方案,展示了 OpenDevins 在彻底改变不同背景的用户参与编码任务的方式方面所具有的潜力。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
Improving OpenDevin: Boosting code generation LLM through advanced memory management
OpenDevin, a code generation AI tool, has emerged as a powerful assistant for both technical and non-technical users, offering a practical approach to coding challenges. Unlike traditional code generators that merely output code, OpenDevin excels by executing code directly in a console, allowing for immediate testing and verification. This functionality not only streamlines the coding process but also enhances learning and troubleshooting, making it accessible to a broader audience. In this project, we address several key challenges to improve OpenDevins effectiveness, especially in handling multi-round conversations and contextually relevant code generation. Our team identified and tackled two main challenges faced by OpenDevin: variety of input, and multi-step conversations. Through incorporating a series of functions to parse, summarize, and organize LLM agents memory logs, we significantly improved OpenDevin agents capabilities among a variety of tasks. The integration of efficient memory management led to a notable increase in accuracyfrom 44.4% to 88.9% in multi-round conversations, highlighting the importance of effective memory management in AI-powered coding tools. This report details our methodology, the challenges we faced, and the solutions we implemented, showcasing OpenDevins potential to revolutionize the way users from various backgrounds engage with coding tasks.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信