arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2402.16667cs.CLcs.AI
收藏

RepoAgent:一个由大语言模型驱动的开源仓库级代码文档生成框架

RepoAgent: An LLM-Powered Open-Source Framework for Repository-level Code Documentation Generation

Tsinghua University(清华大学);Renmin University of China(中国人民大学);Siemens AG(西门子公司)

Qinyu Luo, Yining Ye, Shihao Liang, Zhong Zhang, Yujia Qin, Yaxi Lu, Yesai Wu, Xin Cong, Yankai Lin, Yingli Zhang, Xiaoyin Che, Zhiyuan Liu, Maosong Sun

AI总结:

本文提出由大语言模型驱动的开源框架 RepoAgent,用于自动生成、维护和更新仓库级代码文档,并通过定性与定量实验验证其有效性。

摘要:

生成模型在软件工程中已展现出巨大潜力,尤其是在代码生成和调试等任务中。然而,它们在代码文档生成领域的应用仍未得到充分探索。为此,我们提出了 RepoAgent,一个由大语言模型驱动的开源框架,旨在主动生成、维护和更新代码文档。通过定性和定量评估,我们验证了该方法的有效性,表明 RepoAgent 在生成高质量仓库级文档方面表现出色。代码和结果可在 https://github.com/OpenBMB/RepoAgent 公开获取。

英文摘要:

Generative models have demonstrated considerable potential in software engineering, particularly in tasks such as code generation and debugging. However, their utilization in the domain of code documentation generation remains underexplored. To this end, we introduce RepoAgent, a large language model powered open-source framework aimed at proactively generating, maintaining, and updating code documentation. Through both qualitative and quantitative evaluations, we have validated the effectiveness of our approach, showing that RepoAgent excels in generating high-quality repository-level documentation. The code and results are publicly accessible at https://github.com/OpenBMB/RepoAgent.

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

↑