Skip to content

Using GPT-3.5 Turbo, the classification script helps filter and prioritize requirements, while the traceability script establishes links between documents to track dependencies. It includes prompts that are carefully crafted using 5 different prompt patterns to communicate effectively with the model and provides generated results for each pattern.

Notifications You must be signed in to change notification settings

beatrizcabdan/GenAI4REtasks

Repository files navigation

GenAI4REtasks

Using GPT-3.5 Turbo, the classification script helps filter and prioritize requirements, while the traceability script establishes links between documents to track dependencies. It includes prompts that are carefully crafted using 5 different prompt patterns to communicate effectively with the model and provides generated results for each pattern.

Running the code

  1. Create an Open AI key here https://platform.openai.com/account/api-keys
  2. Add your Open AI key to the openai_keyt.txt file
  3. Select which task you want to run (either task_classify.py or task_traces.txt)
  4. The generations will be stored in the repies_taskname folder

Sources

The data used in this repository and corresponding paper come from:

  • Cleland-Huang, J., Mazrouee, S., Liguo, H., & Port, D.. (2007). NFR.
  • Ferrari, A., Spagnolo, G., & Gnesi, S. (2017). PURE: A Dataset of Public Requirements Documents. In 2017 IEEE 25th International Requirements Engineering Conference (RE) (pp. 502-505).

About

Using GPT-3.5 Turbo, the classification script helps filter and prioritize requirements, while the traceability script establishes links between documents to track dependencies. It includes prompts that are carefully crafted using 5 different prompt patterns to communicate effectively with the model and provides generated results for each pattern.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages