Accepted for/Published in: JMIR Formative Research
Date Submitted: Feb 12, 2025
Open Peer Review Period: Feb 12, 2025 - Apr 9, 2025
Date Accepted: Sep 29, 2025
(closed for review but you can still tweet)
Generative AI Chatbot for Diabetes Management: Formative Two-Part Qualitative Study Using DTalksBot Involving Patients and Clinicians
ABSTRACT
Background:
Diabetes mellitus requires continuous self-management to prevent complications. Patients frequently rely on online resources and mobile apps for diabetes-related information; however, these often lead to information overload, limited personalization, and difficulty in navigation. Generative artificial intelligence (AI) chatbots may address these challenges by providing accessible, personalized, and responsive guidance.
Objective:
This study explored the potential role of generative AI chatbots in diabetes management through a two-part qualitative evaluation. Part 1 examined patients’ information needs, user experiences, and expectations. Part 2 investigated specialists’ perspectives on the practical utility of generative AI chatbots in supporting diabetes self-management. By incorporating perspectives from both patients and specialists, the study aimed to identify appropriate boundaries for the involvement of generative AI chatbots, reflecting the needs and expectations of both stakeholder groups.
Methods:
This study was conducted using DTalksBot, a generative AI chatbot powered by GPT-4 and enhanced with retrieval-augmented generation (RAG). In Part 1, we aimed to understand the experiences, needs, and expectations of patients with diabetes. To achieve this, 24 participants engaged in structured chatbot sessions, completed post-interaction surveys, and participated in in-depth interviews. Data were analyzed using thematic and content analysis to identify patterns in user queries and experiences. In Part 2, we invited four family medicine specialists to assess the accuracy of DTalksBot’s responses by reviewing conversation logs and to share expert insights on the future role of generative AI chatbots in diabetes management.
Results:
In Part 1, 24 patients submitted a total of 643 questions, which were categorized into four primary themes: personalized health advice and guidance (n=281, 44.6%), complications and comorbidities (n=174, 27.1%), medication and treatment exploration (n=111, 17.3%), and mental health management and support (n=30, 4.7%). Patients emphasized the advantages of generative AI chatbots over traditional information sources, including faster access to reliable content, reduced cognitive burden, and the ability to comfortably discuss sensitive topics. In Part 2, specialists recognized the generative AI chatbots’ value in answering routine inquiries, but noted limitations in contextual accuracy, real-time data integration, and response personalization.
Conclusions:
Generative AI chatbots showed promise as complementary tools for diabetes self-management by offering accessible, reliable, and tailored support. This formative evaluation provides empirical evidence on how generative AI chatbots can address patient information needs and complement existing healthcare resources. To maximize utility, future generative AI chatbots need to integrate real-time health data, enhance contextual relevance, and align with clinical workflows to ensure safety, trust, and broader applicability.
Citation
Request queued. Please wait while the file is being generated. It may take some time.
Copyright
© The authors. All rights reserved. This is a privileged document currently under peer-review/community review (or an accepted/rejected manuscript). Authors have provided JMIR Publications with an exclusive license to publish this preprint on it's website for review and ahead-of-print citation purposes only. While the final peer-reviewed paper may be licensed under a cc-by license on publication, at this stage authors and publisher expressively prohibit redistribution of this draft paper other than for review purposes.