Automating the Development of Task-oriented LLM-based Chatbots
Authors
Task-oriented chatbots are increasingly used to access all sorts of services -like booking a flight, or setting a medical appointment- through natural language conversation. There are many technologies for implementing task-oriented chatbots, including Dialogflow, Watson, and Rasa. They rely on an explicit definition of the user intents, conversation flows, and chatbot outputs, which is costly to specify, and sometimes results in suboptimal user experiences and artificial conversations with limited diversity of chatbot responses. Recently, the advances in generative artificial intelligence fostered by Large Language Models (LLMs) have enabled a new range of open-domain chatbots, like ChatGPT, able to converse fluently on any topic. However, they are general-purpose, and therefore not directly usable to solve specialised tasks reliably. In this paper, we study the power of LLMs to build task-oriented chatbots, resulting in lighter specifications -no intent definition required- and more natural conversations than in intent-based approaches. To this end, we propose a lightweight domain-specific language based on YAML to specify chatbots using modules of different types (e.g., menus, question-answering, data gathering). These specifications are compiled into structured LLM prompts that use the ReAct framework to inform our runtime how to interpret the user input and coordinate the tasks that the chatbot must perform. The paper presents the design and realisation of our framework, and an assessment that encodes a set of existing intent-based chatbots using our approach, showing its benefits in terms of specification size, conversation flexibility and output diversity.
Research Questions / Practical Problems
Question signals indexed for this paper.
Research Questions
3- How can user intent definition and training phrase design be simplified in task-oriented chatbot development?Category: LLM Learning Scaffolding and Reflection SupportSimilar questionsarrow_forward
- How can YAML syntax and modular design improve the maintainability and flexibility of task-oriented chatbots?Category: LLM Learning Scaffolding and Reflection SupportSimilar questionsarrow_forward
- How can LLMs simultaneously achieve functionality and naturalness in task-oriented dialogue?Category: LLM Learning Scaffolding and Reflection SupportSimilar questionsarrow_forward
Practical Problems
1- Developing task-oriented chatbots requires heavy effort, and resulting dialogue content tends to be rigid and unnatural.Category: LLM Learning Scaffolding and Reflection SupportSimilar questionsarrow_forward
- 100%
The User Experience of ChatGPT: Findings From a Questionnaire Study of Early Users
CUI '23· Conversational Chatbots +1
- 67%
Integrating Machine Learning Data with Symbolic Knowledge from Collaboration Practices of Curators to Improve Conversational Systems
CHI '21· Conversational Chatbots +2
- 67%
UX Research on Conversational Human-AI Interaction: A Literature Review of the ACM Digital Library
CHI '22· Conversational Chatbots +2
- 67%
Inform the uninformed: Improving Online Informed Consent Reading with an AI-Powered Chatbot
CHI '23· Conversational Chatbots +2
- 67%
Empowering Calibrated (Dis-)Trust in Conversational Agents: A User Study on the Persuasive Power of Limitation Disclaimers vs. Authoritative Style
CHI '24· Conversational Chatbots +2
- 67%
Proactive Conversational Agents with Inner Thoughts
CHI '25· Conversational Chatbots +2
- 67%
Towards Cross-Content Conversational Agents for Behaviour Change: Investigating Domain Independence and the Role of Lexical Features in Written Language Around Change
CUI '23· Conversational Chatbots +2
- 67%
Unified Conversational Models with System-Initiated Transitions between Chit-Chat and Task-Oriented Dialogues
CUI '23· Conversational Chatbots +2
- 67%
Chatbots With Attitude: Enhancing Chatbot Interactions Through Dynamic Personality Infusion
CUI '24· Conversational Chatbots +2
- 67%
Coaching Copilot: Blended Form of an LLM-Powered Chatbot and a Human Coach to Effectively Support Self-Reflection for Leadership Growth
CUI '24· Conversational Chatbots +1
Based on Jaccard similarity of research subtopics & professions (≥60%)