@misc{10481/107633, year = {2025}, month = {12}, url = {https://hdl.handle.net/10481/107633}, abstract = {This article presents spec2chat, a self-contained and pip-installable Python library for the automatic generation and execution of task-oriented dialogue systems from OpenAPI specifications enriched with conversational metadata. Unlike traditional frameworks based on handcrafted rules or LLM prompting, spec2chat enables dynamic dialogue generation directly driven by service definitions. It combines structured specifications with LLM-powered modules for natural language understanding and question generation. Its API-driven architecture supports hot-swapping of services and seamless adaptation to evolving APIs without retraining or manual intervention. Spec2chat provides a robust foundation for reproducible research and practical deployment in domains such as tourism, marketplaces, and digital public services.}, organization = {Spanish Ministry of Science and Innovation (refs. PID2020-118112RB-C21 and PID2020-118112RB-C22)}, organization = {RCIS Network (RED2022-134148-T)}, publisher = {Elsevier}, keywords = {chatbots}, keywords = {openAPI}, keywords = {Large language models (LLMs)}, title = {Spec2chat: A Python library for task-oriented dialogue generation from OpenAPI specifications}, doi = {10.1016/j.softx.2025.102409}, author = {Rodríguez-Sánchez, María Jesús and Callejas Carrión, Zoraida and Ruiz-Zafra, Ángel and Benghazi Akhlaki, Kawtar}, }