一种为长上下文 LLM 定制的源代码查询 RAG 方法
A RAG Method for Source Code Inquiry Tailored to Long-Context LLMs
AI总结:
针对长上下文 LLM 在软件开发中的源代码查询问题,提出将执行轨迹融入 RAG 的方法,并通过小规模实验验证其提升回答质量的潜力。
摘要:
尽管大语言模型(LLM)的上下文长度限制已得到缓解,但它仍阻碍其应用于软件开发任务。本研究提出一种将执行轨迹纳入 RAG 的方法,用于源代码查询。小规模实验证实,该方法有改善 LLM 回答质量的趋势。
英文摘要:
Although the context length limitation of large language models (LLMs) has been mitigated, it still hinders their application to software development tasks. This study proposes a method incorporating execution traces into RAG for inquiries about source code. Small-scale experiments confirm a tendency for the method to contribute to improving LLM response quality.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。