MED-ChatGPT CoPilot: a ChatGPT medical assistant for case mining and adjunctive therapy
Open Access
- 16 October 2024
- journal article
- research article
- Published by Frontiers Media SA in Frontiers in Medicine
- Vol. 11, 1460553
Abstract
Background: The large-scale language model, GPT-4-1106-preview, supports text of up to 128 k characters, which has enhanced the capability of processing vast quantities of text. This model can perform efficient and accurate text data mining without the need for retraining, aided by prompt engineering.Method: The research approach includes prompt engineering and text vectorization processing. In this study, prompt engineering is applied to assist ChatGPT in text mining. Subsequently, the mined results are vectorized and incorporated into a local knowledge base. After cleansing 306 medical papers, data extraction was performed using ChatGPT. Following a validation and filtering process, 241 medical case data entries were obtained, leading to the construction of a local medical knowledge base. Additionally, drawing upon the Langchain framework and utilizing the local knowledge base in conjunction with ChatGPT, we successfully developed a fast and reliable chatbot. This chatbot is capable of providing recommended diagnostic and treatment information for various diseases.Results: The performance of the designed ChatGPT model, which was enhanced by data from the local knowledge base, exceeded that of the original model by 7.90% on a set of medical questions.Conclusion: ChatGPT, assisted by prompt engineering, demonstrates effective data mining capabilities for large-scale medical texts. In the future, we plan to incorporate a richer array of medical case data, expand the scale of the knowledge base, and enhance ChatGPT’s performance in the medical field.Keywords
This publication has 54 references indexed in Scilit:
- Pre-trained language models in medicine: A surveyArtificial Intelligence in Medicine, 2024
- Robotics in Screening, Diagnosis and Treatment of Breast Cancer: A Perspective ViewClinical Breast Cancer, 2023
- Creation and Adoption of Large Language Models in MedicineJAMA, 2023
- Depression detection based on social networking sites using data miningMultimedia Tools and Applications, 2023
- New era of artificial intelligence and machine learning-based detection, diagnosis, and therapeutics in Parkinson’s diseaseAgeing Research Reviews, 2023
- Performance of Generative Large Language Models on Ophthalmology Board–Style QuestionsAmerican Journal of Ophthalmology, 2023
- Performance of an Artificial Intelligence Chatbot in Ophthalmic Knowledge AssessmentJAMA Ophthalmology, 2023
- Exploring the Potential of GPT-4 in Biomedical Engineering: The Dawn of a New EraAnnals of Biomedical Engineering, 2023
- Substituting clinical features using synthetic medical phrases: Medical text data augmentation techniquesArtificial Intelligence in Medicine, 2021
- 221EMF Development and Validation of a Text Rendering and Data Retrieval System for Extracting Clinical Information from Paper Medical RecordsAnnals of Emergency Medicine, 2020