Large Language Models (LLMs) are becoming key in automating and assisting various software development tasks, including text-based tasks in requirements engineering but also in coding. Typically, these models are used to automate small portions of existing tasks, but we present a broader vision to span multiple steps from requirements engineering to implementation using existing libraries. This approach, which we call Semantic API Alignment (SEAL), aims to bridge the gap between a user's high-level goals and the specific functions of one or more APIs. In this work in progress paper, we propose a system architecture where a set of LLM-powered 'agents' match such high-level objectives with appropriate API calls. This system could facilitate automated programming by finding matching links or, alternatively, explaining mismatches to guide manual intervention or further development. As an initial pilot, our paper demonstrates this concept by applying LLMs to Goal-Oriented Requirements Engineering (GORE), via sub-goal analysis, for aligning with REST API specifications, specifically through a case study involving a GitHub statistics API. We discuss the potential of our approach to enhance complex tasks in software development and requirements engineering and outline future directions for research.

Semantic API Alignment: Linking High-Level User Goals to APIs / Feldt, Robert; Coppola, Riccardo. - (2025), pp. 17-20. ( 2025 IEEE/ACM International Workshop on Natural Language-Based Software Engineering, NLBSE 2025 Ottawa, ON (CAN) 27-28 April 2025) [10.1109/nlbse66842.2025.00009].

Semantic API Alignment: Linking High-Level User Goals to APIs

Coppola, Riccardo
2025

Abstract

Large Language Models (LLMs) are becoming key in automating and assisting various software development tasks, including text-based tasks in requirements engineering but also in coding. Typically, these models are used to automate small portions of existing tasks, but we present a broader vision to span multiple steps from requirements engineering to implementation using existing libraries. This approach, which we call Semantic API Alignment (SEAL), aims to bridge the gap between a user's high-level goals and the specific functions of one or more APIs. In this work in progress paper, we propose a system architecture where a set of LLM-powered 'agents' match such high-level objectives with appropriate API calls. This system could facilitate automated programming by finding matching links or, alternatively, explaining mismatches to guide manual intervention or further development. As an initial pilot, our paper demonstrates this concept by applying LLMs to Goal-Oriented Requirements Engineering (GORE), via sub-goal analysis, for aligning with REST API specifications, specifically through a case study involving a GitHub statistics API. We discuss the potential of our approach to enhance complex tasks in software development and requirements engineering and outline future directions for research.
2025
979-8-3315-3864-4
File in questo prodotto:
File Dimensione Formato  
2405.04236v1.pdf

accesso riservato

Tipologia: 1. Preprint / submitted version [pre- review]
Licenza: Non Pubblico - Accesso privato/ristretto
Dimensione 174.28 kB
Formato Adobe PDF
174.28 kB Adobe PDF   Visualizza/Apri   Richiedi una copia
Semantic_API_Alignment_Linking_High-Level_User_Goals_to_APIs.pdf

accesso riservato

Tipologia: 2a Post-print versione editoriale / Version of Record
Licenza: Non Pubblico - Accesso privato/ristretto
Dimensione 210.8 kB
Formato Adobe PDF
210.8 kB Adobe PDF   Visualizza/Apri   Richiedi una copia
RE_vision___AL_GORE__4pg_.pdf

accesso aperto

Tipologia: 2. Post-print / Author's Accepted Manuscript
Licenza: Pubblico - Tutti i diritti riservati
Dimensione 142.15 kB
Formato Adobe PDF
142.15 kB Adobe PDF Visualizza/Apri
Pubblicazioni consigliate

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/11583/3006572