计算机科学 > 软件工程
[提交于 2023年8月2日]
标题:Prompts Matter: Insights and Strategies for Prompt Engineering in Automated Software Traceability
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Large Language Models (LLMs) have the potential to revolutionize automated traceability by overcoming the challenges faced by previous methods and introducing new possibilities. However, the optimal utilization of LLMs for automated traceability remains unclear. This paper explores the process of prompt engineering to extract link predictions from an LLM. We provide detailed insights into our approach for constructing effective prompts, offering our lessons learned. Additionally, we propose multiple strategies for leveraging LLMs to generate traceability links, improving upon previous zero-shot methods on the ranking of candidate links after prompt refinement. The primary objective of this paper is to inspire and assist future researchers and engineers by highlighting the process of constructing traceability prompts to effectively harness LLMs for advancing automatic traceability.
提交历史
来自:Alberto Rodriguez[v1] 2023年8月2日 星期三 00:00:00 UTC