Urban service ecosystems expose heterogeneous APIs described through diverse and often unstructured documentation, hindering automated discovery, comparison, and composition. Although the W3C Web of Things Thing Description (TD) standard enables machine-interpretable service representations, TD generation remains largely manual and error-prone. Large Language Models (LLMs) enable automatic generation but suffer from hallucinations, omissions, and high token costs when processing raw documentation.This paper proposes a pipeline that combines Information Extraction and LLM-based TD generation. A GLiNER-based step extracts domain-specific functional and non-functional properties to produce compact, structured inputs that guide TD generation. Proof-of-concept experiments on heterogeneous real-world services show improved semantic completeness, reduced hallucinations, and lower token usage compared to baseline prompting. The pipeline supports semantic indexing within a multi-agent service orchestration framework.

Sormani, L., Vizzari, G., De Paoli, F. (2026). Information-Extraction-Guided LLM Generation of WoT Thing Descriptions for Services. In 2026 IEEE International Conference on Smart Computing Workshops and Other Affiliated events (SmartComp Companion) (pp.255-260) [10.1109/smartcomp-companion70724.2026.00060].

Information-Extraction-Guided LLM Generation of WoT Thing Descriptions for Services

Vizzari, Giuseppe;De Paoli, Flavio
Ultimo
2026

Abstract

Urban service ecosystems expose heterogeneous APIs described through diverse and often unstructured documentation, hindering automated discovery, comparison, and composition. Although the W3C Web of Things Thing Description (TD) standard enables machine-interpretable service representations, TD generation remains largely manual and error-prone. Large Language Models (LLMs) enable automatic generation but suffer from hallucinations, omissions, and high token costs when processing raw documentation.This paper proposes a pipeline that combines Information Extraction and LLM-based TD generation. A GLiNER-based step extracts domain-specific functional and non-functional properties to produce compact, structured inputs that guide TD generation. Proof-of-concept experiments on heterogeneous real-world services show improved semantic completeness, reduced hallucinations, and lower token usage compared to baseline prompting. The pipeline supports semantic indexing within a multi-agent service orchestration framework.
paper
AI in Smart Computing, Data Engineering and Analytics for Smart Computing, agentic AI
English
2026 IEEE International Conference on Smart Computing Workshops and Other Affiliated events - 22-25 June 2026
2026
2026 IEEE International Conference on Smart Computing Workshops and Other Affiliated events (SmartComp Companion)
9798319544162
2026
255
260
none
Sormani, L., Vizzari, G., De Paoli, F. (2026). Information-Extraction-Guided LLM Generation of WoT Thing Descriptions for Services. In 2026 IEEE International Conference on Smart Computing Workshops and Other Affiliated events (SmartComp Companion) (pp.255-260) [10.1109/smartcomp-companion70724.2026.00060].
File in questo prodotto:
Non ci sono file associati a questo prodotto.

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/10281/619542
Citazioni
  • Scopus ND
  • ???jsp.display-item.citation.isi??? ND
Social impact