Spec2chat: A Python library for task-oriented dialogue generation from OpenAPI specifications
Metadatos
Mostrar el registro completo del ítemAutor
Rodríguez-Sánchez, María Jesús; Callejas Carrión, Zoraida; Ruiz-Zafra, Ángel; Benghazi Akhlaki, KawtarEditorial
Elsevier
Materia
chatbots openAPI Large language models (LLMs)
Fecha
2025-12Referencia bibliográfica
Rodríguez-Sánchez, M. J., Callejas, Z., Ruiz-Zafra, A., & Benghazi, K. (2025). Spec2chat: A Python library for task-oriented dialogue generation from OpenAPI specifications. SoftwareX, 32(102409), 102409. https://doi.org/10.1016/j.softx.2025.102409
Patrocinador
Spanish Ministry of Science and Innovation (refs. PID2020-118112RB-C21 and PID2020-118112RB-C22); RCIS Network (RED2022-134148-T)Resumen
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.





