Unknown

Dataset Information

Prompt engineering with a large language model to assist providers in responding to patient inquiries: a real-time implementation in the electronic health record.


ABSTRACT:

Background

Large language models (LLMs) can assist providers in drafting responses to patient inquiries. We examined a prompt engineering strategy to draft responses for providers in the electronic health record. The aim was to evaluate the change in usability after prompt engineering.

Materials and methods

A pre-post study over 8 months was conducted across 27 providers. The primary outcome was the provider use of LLM-generated messages from Generative Pre-Trained Transformer 4 (GPT-4) in a mixed-effects model, and the secondary outcome was provider sentiment analysis.

Results

Of the 7605 messages generated, 17.5% (n = 1327) were used. There was a reduction in negative sentiment with an odds ratio of 0.43 (95% CI, 0.36-0.52), but message use decreased (P

SUBMITTER: Afshar M 

PROVIDER: S-EPMC11335368 | biostudies-literature | 2024 Oct

REPOSITORIES: biostudies-literature