From Knowledge Extraction to Assertive Response: An LLM Chatbot for Information Retrieval in Telemedicine Systems
The development of new technologies, improved by advances in artificial intelligence, has enabled the creation of a new generation of applications in different scenarios. In medical systems, adopting AI-driven solutions has brought new possibilities, but their effective impacts still need further investigation. In this context, a chatbot prototype trained with large language models (LLMs) was developed using data from the Santa Catarina Telemedicine and Telehealth System (STT) Dermatology module. The system adapts Llama 3 8B via supervised Fine-tuning with QLoRA on a proprietary, domain-specific dataset (33 input-output pairs). Although it achieved 100% Fluency and 89.74% Coherence, Factual Correctness remained low (43.59%), highlighting the limitations of training LLMs on small datasets. In addition to G-Eval metrics, we conducted expert human validation, encompassing both quantitative and qualitative aspects. This low factual score indicates that a retrieval-augmented generation (RAG) mechanism is essential for robust information retrieval, which we outline as a primary direction for future work. This approach enabled a more in-depth analysis of a real-world telemedicine environment, highlighting both the practical challenges and the benefits of implementing LLMs in complex systems, such as those used in telemedicine.
Authors
- Aldo von Wangenheim (ORCID: https://orcid.org/0000-0003-4532-1417)
- Roger Immich (ORCID: https://orcid.org/0000-0003-2483-6382)
- Alex Sandro Roschildt Pinto (ORCID: https://orcid.org/0000-0002-9144-1535)
- Daniel G. Costa (ORCID: https://orcid.org/0000-0003-3988-8476)
- Douglas Dyllon Jerônimo de Macedo (ORCID: https://orcid.org/0000-0002-3237-4168)
- Bruna D. Pupo (ORCID: https://orcid.org/0009-0006-4977-4463)
Institutions
- Universidade do Porto (PT)
- Universidade Federal do Rio Grande do Norte (BR)
- Universidade Federal de Santa Catarina (BR)
- Porto Digital (Brazil) (BR)
- Engene (Brazil) (BR)
Publication Details
- Journal
- Applied Sciences
- Published
- 2025-11-03
- DOI
- https://doi.org/10.3390/app152111732
- Citations
- 1
- Primary Topic
- AI in Service Interactions
- Type
- article
- Field-Weighted Citation Impact
- 2.48
Funders
- Coordenação de Aperfeiçoamento de Pessoal de Nível Superior
- Conselho Nacional de Desenvolvimento Científico e Tecnológico
- Universidade Federal de Santa Catarina