Prompts Matter: Insights and Strategies for Prompt Engineering in Automated Software Traceability

08/01/2023
by   Alberto D. Rodriguez, et al.
0

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.

READ FULL TEXT
research
07/04/2023

Garbage in, garbage out: Zero-shot detection of crime using Large Language Models

This paper proposes exploiting the common sense knowledge learned by lar...
research
10/03/2022

Hypothesis Engineering for Zero-Shot Hate Speech Detection

Standard approaches to hate speech detection rely on sufficient availabl...
research
08/17/2023

ChatGPT-HealthPrompt. Harnessing the Power of XAI in Prompt-Based Healthcare Decision Support using ChatGPT

This study presents an innovative approach to the application of large l...
research
05/19/2023

How to Prompt LLMs for Text-to-SQL: A Study in Zero-shot, Single-domain, and Cross-domain Settings

Large language models (LLMs) with in-context learning have demonstrated ...
research
08/31/2023

Developing a Scalable Benchmark for Assessing Large Language Models in Knowledge Graph Engineering

As the field of Large Language Models (LLMs) evolves at an accelerated p...
research
08/15/2023

LogPrompt: Prompt Engineering Towards Zero-Shot and Interpretable Log Analysis

Automated log analysis is crucial in modern software-intensive systems f...
research
08/18/2023

Leveraging Large Language Models for DRL-Based Anti-Jamming Strategies in Zero Touch Networks

As the dawn of sixth-generation (6G) networking approaches, it promises ...

Please sign up or login with your details

Forgot password? Click here to reset