GPT-Powered Elicitation Interview Script Generator for Requirements Engineering Training

Binnur Görer,Fatma Başak Aydemir
2024-06-17
Abstract:Elicitation interviews are the most common requirements elicitation technique, and proficiency in conducting these interviews is crucial for requirements elicitation. Traditional training methods, typically limited to textbook learning, may not sufficiently address the practical complexities of interviewing techniques. Practical training with various interview scenarios is important for understanding how to apply theoretical knowledge in real-world contexts. However, there is a shortage of educational interview material, as creating interview scripts requires both technical expertise and creativity. To address this issue, we develop a specialized GPT agent for auto-generating interview scripts. The GPT agent is equipped with a dedicated knowledge base tailored to the guidelines and best practices of requirements elicitation interview procedures. We employ a prompt chaining approach to mitigate the output length constraint of GPT to be able to generate thorough and detailed interview scripts. This involves dividing the interview into sections and crafting distinct prompts for each, allowing for the generation of complete content for each section. The generated scripts are assessed through standard natural language generation evaluation metrics and an expert judgment study, confirming their applicability in requirements engineering training.
Software Engineering,Artificial Intelligence
What problem does this paper attempt to address?
The problem that this paper attempts to solve is: **In requirements engineering training, there is a lack of effective interview scripts to help students master complex requirements - gathering techniques**. Specifically, traditional training methods (such as textbook learning) are usually unable to fully convey practical interview techniques and the complexity of applying theoretical knowledge to real - life scenarios. In addition, there are significant logistical challenges in organizing real - life stakeholders for training interviews, such as the availability of stakeholders and the difficulty of managing a large number of students. To solve these problems, the author proposes a GPT - based automatic interview script generator. This generator aims to improve requirements engineering training in the following ways: 1. **Create a specialized knowledge base**: The generator is equipped with a knowledge base specifically for best practices and guidelines in requirements - gathering interview procedures. 2. **Use the prompt - chain technique**: To overcome the length limitations of GPT output, the author adopts the prompt - chain method to divide the interview into multiple parts and generate detailed content for each part. 3. **Evaluate the generated scripts**: Verify the applicability of the generated scripts in requirements engineering training through standard natural - language - generation evaluation metrics and expert - judgment studies. This method can not only generate detailed interview scripts but also provide rich practical experience, helping students better understand and apply requirements - gathering techniques. In addition, AI - generated scripts can serve as valuable educational resources, supplement existing educational materials, and improve training effectiveness. ### Main contributions 1. **Developed a GPT - based interview script generator** that has a specialized knowledge base and can generate detailed scripts in line with best practices in requirements - gathering interviews. 2. **Verified the effectiveness of the generated scripts through quantitative and qualitative evaluations** and confirmed their applicability in requirements - engineering training. Through these contributions, the author hopes to fill the gaps in current educational materials and provide a new and effective tool for requirements - engineering training.