Leveraging Graph Structures and Large Language Models for End-to-End Synthetic Task-Oriented Dialogues

Maya Medjad (UCBL, CNRS, Centrale Lyon, INSA Lyon, Univ. Lumière Lyon 2, LIRIS, UMR5205 69622 Villeurbanne, France), Hugo Imbert (Reecall), Bruno Yun (UCBL, CNRS, Centrale Lyon, INSA Lyon, Univ. Lumière Lyon 2, LIRIS, UMR5205 69622 Villeurbanne, France), Raphaël Szymocha (Reecall), Frédéric Armetta (UCBL, CNRS, Centrale Lyon, INSA Lyon, Univ. Lumière Lyon 2, LIRIS, UMR5205 69622 Villeurbanne, France)

Abstract

Training task-oriented dialogue systems is both costly and timeconsuming, due to the need for high-quality datasets encompassing diverse intents. Traditional methods depend on extensive human annotation, while recent advancements leverage large language models (LLMs) to generate synthetic data. However, these approaches often require custom prompts or code, limiting accessibility for nontechnical users. We introduce GraphTOD, an end-to-end framework that simplifies the generation of task-oriented dialogues. Users can create dialogues by specifying transition graphs in JSON format. Our evaluation demonstrates that GraphTOD generates highquality dialogues across various domains, significantly lowering the cost and complexity of dataset creation.