644. CUSTOMIZING A LARGE LANGUAGE MODEL TO PROVIDE CLINICALLY TAILORED ADVICE FOR EMERGENCY ESOPHAGEAL IMPACTIONS
Abstract Background There is interest in applying Large Language Models (LLMsclinically, but they are not trained for medical purposes. Equally, the development of LLMsrequires significant time and financial resources. Customizing an existing LLM for clinical purposes may overcome these limitations and would be of interest to clinicians, patients, hospital managers, and government/policy makers. Methods Thirty patient cases with nonbony esophageal impactions were developed using guidance from UpToDate. Standardized prompts were engineered for physicians as the end user. The customization tool was applied to ChatGPT-4.0 to create the Esophageal Impaction Tool (GPT-EIT), which provides advice for managing patients with esophageal impactions. Both GPT-EIT and the generic ChatGPT-4.0 models were queried February 28th, 2024. Their performance was evaluated based on guidelines for the removal of foreign bodies from the European Society of Gastrointestinal Endoscopy. Outcome data was presented using descriptive statistics in the form of counts and percentages. Results The GPT-EIT provided accurate recommendations for 30/30 (100.0%) cases. Each case was managed appropriately, recommending that stable patients received endoscopy within 24 hours, while patients with drooling were recognized as a surgical emergency and advice was given to provide endoscopy within 2 hours, but no more than 6 hours. GPT-EIT also advised to consider the appropriateness of treatment for patients presenting at 97 years of age based on their comorbidities and health status. The generic ChatGPT-4.0 model produced accurate guidance for 14/30 (46.7%) of cases. Patients with signs of significant obstruction would not have received timely endoscopy (Table 1). Conclusions ChatGPT can be customized to overcome limitations with its training dataset to develop clinically relevant, accurate advice for esophageal impactions. Clinicians, patients, hospital managers, and policymakers should take note that this methodology may be applied for other clinical purposes to avoid limitations related to resource constraints with developing LLMsfrom scratch.
Authors
- Nader Hanna (ORCID: https://orcid.org/0000-0001-5755-5910)
- Bright Huo (ORCID: https://orcid.org/0000-0003-4999-4328)
Institutions
- McMaster University (CA)
Publication Details
- Journal
- Diseases of the Esophagus
- Published
- 2024-09-01
- DOI
- https://doi.org/10.1093/dote/doae057.345
- Primary Topic
- Emergency and Acute Care Studies
- Type
- article
- Field-Weighted Citation Impact
- 0.00