JMIR Medical Education (Aug 2023)

Examining Real-World Medication Consultations and Drug-Herb Interactions: ChatGPT Performance Evaluation

  • Hsing-Yu Hsu,
  • Kai-Cheng Hsu,
  • Shih-Yen Hou,
  • Ching-Lung Wu,
  • Yow-Wen Hsieh,
  • Yih-Dih Cheng

DOI
https://doi.org/10.2196/48433
Journal volume & issue
Vol. 9
p. e48433

Abstract

Read online

BackgroundSince OpenAI released ChatGPT, with its strong capability in handling natural tasks and its user-friendly interface, it has garnered significant attention. ObjectiveA prospective analysis is required to evaluate the accuracy and appropriateness of medication consultation responses generated by ChatGPT. MethodsA prospective cross-sectional study was conducted by the pharmacy department of a medical center in Taiwan. The test data set comprised retrospective medication consultation questions collected from February 1, 2023, to February 28, 2023, along with common questions about drug-herb interactions. Two distinct sets of questions were tested: real-world medication consultation questions and common questions about interactions between traditional Chinese and Western medicines. We used the conventional double-review mechanism. The appropriateness of each response from ChatGPT was assessed by 2 experienced pharmacists. In the event of a discrepancy between the assessments, a third pharmacist stepped in to make the final decision. ResultsOf 293 real-world medication consultation questions, a random selection of 80 was used to evaluate ChatGPT’s performance. ChatGPT exhibited a higher appropriateness rate in responding to public medication consultation questions compared to those asked by health care providers in a hospital setting (31/51, 61% vs 20/51, 39%; P=.01). ConclusionsThe findings from this study suggest that ChatGPT could potentially be used for answering basic medication consultation questions. Our analysis of the erroneous information allowed us to identify potential medical risks associated with certain questions; this problem deserves our close attention.