Prompt Engineering Guidelines for Using Large Language Models in Requirements Engineering

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Ronanki, Krishna, Arvidsson, Simon, Axell, Johan
Natura: Preprint
Pubblicazione: 2025
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866916825794609152
author Ronanki, Krishna
Arvidsson, Simon
Axell, Johan
author_facet Ronanki, Krishna
Arvidsson, Simon
Axell, Johan
contents The rapid emergence of generative AI models like Large Language Models (LLMs) has demonstrated its utility across various activities, including within Requirements Engineering (RE). Ensuring the quality and accuracy of LLM-generated output is critical, with prompt engineering serving as a key technique to guide model responses. However, existing literature provides limited guidance on how prompt engineering can be leveraged, specifically for RE activities. The objective of this study is to explore the applicability of existing prompt engineering guidelines for the effective usage of LLMs within RE. To achieve this goal, we began by conducting a systematic review of primary literature to compile a non-exhaustive list of prompt engineering guidelines. Then, we conducted interviews with RE experts to present the extracted guidelines and gain insights on the advantages and limitations of their application within RE. Our literature review indicates a shortage of prompt engineering guidelines for domain-specific activities, specifically for RE. Our proposed mapping contributes to addressing this shortage. We conclude our study by identifying an important future line of research within this field.
format Preprint
id arxiv_https___arxiv_org_abs_2507_03405
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Prompt Engineering Guidelines for Using Large Language Models in Requirements Engineering
Ronanki, Krishna
Arvidsson, Simon
Axell, Johan
Software Engineering
The rapid emergence of generative AI models like Large Language Models (LLMs) has demonstrated its utility across various activities, including within Requirements Engineering (RE). Ensuring the quality and accuracy of LLM-generated output is critical, with prompt engineering serving as a key technique to guide model responses. However, existing literature provides limited guidance on how prompt engineering can be leveraged, specifically for RE activities. The objective of this study is to explore the applicability of existing prompt engineering guidelines for the effective usage of LLMs within RE. To achieve this goal, we began by conducting a systematic review of primary literature to compile a non-exhaustive list of prompt engineering guidelines. Then, we conducted interviews with RE experts to present the extracted guidelines and gain insights on the advantages and limitations of their application within RE. Our literature review indicates a shortage of prompt engineering guidelines for domain-specific activities, specifically for RE. Our proposed mapping contributes to addressing this shortage. We conclude our study by identifying an important future line of research within this field.
title Prompt Engineering Guidelines for Using Large Language Models in Requirements Engineering
topic Software Engineering
url https://arxiv.org/abs/2507.03405