Abstract
We developed an innovative system that combines Natural Language Understanding (NLU), a curated knowledge base, and the efficient management of a Large Language Model (LLM) to support motivational health coaching. Using Rasa as the core framework, we enhanced it by integrating the GPT-3.5-turbo model. Users opt into reflective dialogues during conversations. When they respond to open-ended questions, their input goes directly to the GPT-3.5-turbo model, allowing for more flexible responses. To provide curated trustworthy content, we integrated a knowledge provision component that searches a PDF-based knowledge base and generates user-friendly responses using Retrieval-Augmented Generation. We tested the system in a real-world scenario by deploying it on a Nao robot in seven older adults’ homes for 1–2 weeks, encouraging positive behavioral changes in some users. Our system serves as a valuable foundation for building an even more integrated, personalized system that can connect with other Application Programing Interfaces (APIs) and integrate with home sensors and edge devices.
Original language | English |
---|---|
Article number | 4364 |
Pages (from-to) | 1-26 |
Number of pages | 26 |
Journal | Electronics |
Volume | 13 |
Issue number | 22 |
Early online date | 7 Nov 2024 |
DOIs | |
Publication status | Published (in print/issue) - 30 Nov 2024 |
Bibliographical note
Publisher Copyright:© 2024 by the authors.
Data Access Statement
Due to the nature of the research and due to ethical restrictions, supporting data are not available. Source code for the implemented natural language system is available from the corresponding author on request.Keywords
- health coaching
- artificial intelligence
- older adults
- large language models