The Temperature Feature of ChatGPT: Modifying Creativity for Clinical Research

More clinicians and researchers are exploring uses for large language model chatbots, such as ChatGPT, for research, dissemination, and educational purposes. Therefore, it becomes increasingly relevant to consider the full potential of this tool, including the special features that are currently available through the application programming interface. One of these features is a variable called temperature, which changes the degree to which randomness is involved in the model’s generated output. This is of particular interest to clinicians and researchers. By lowering this variable, one can generate more consistent outputs; by increasing it, one can receive more creative responses. For clinicians and researchers who are exploring these tools for a variety of tasks, the ability to tailor outputs to be less creative may be beneficial for work that demands consistency. Additionally, access to more creative text generation may enable scientific authors to describe their research in more general language and potentially connect with a broader public through social media. In this viewpoint, we present the temperature feature, discuss potential uses, and provide some examples.

[1]  T. Weber,et al.  Potential of ChatGPT and GPT-4 for Data Mining of Free-Text CT Reports on Lung Cancer. , 2023, Radiology.

[2]  L. Tan,et al.  The impact of Chat Generative Pre-trained Transformer (ChatGPT) on medical education. , 2023, Postgraduate medical journal.

[3]  C. Gross,et al.  Evolving Methods to Assess Chatbot Performance in Health Sciences Research. , 2023, JAMA internal medicine.

[4]  K. Weinfurt,et al.  Comparison of History of Present Illness Summaries Generated by a Chatbot and Senior Internal Medicine Residents. , 2023, JAMA internal medicine.

[5]  J. Ayers,et al.  Comparing Physician and Artificial Intelligence Chatbot Responses to Patient Questions Posted to a Public Social Media Forum. , 2023, JAMA internal medicine.

[6]  P. Moons,et al.  What if your patient switches from Dr. Google to Dr. ChatGPT? A vignette-based survey of the trustworthiness, value and danger of ChatGPT-generated responses to health questions. , 2023, European journal of cardiovascular nursing.

[7]  C. Krettek,et al.  ChatGPT , 2023, Die Unfallchirurgie.

[8]  J. Tulsky,et al.  Development of a keyword library for capturing PRO-CTCAE-focused “symptom talk” in oncology conversations , 2023, JAMIA open.

[9]  G. Eysenbach,et al.  Social Media: A Review and Tutorial of Applications in Medicine and Health Care , 2014, Journal of medical Internet research.

[10]  Joel Walsh Lesson Plan Generation Using Natural Language Processing: Prompting Best Practices With OpenAI's GPT-3 Model (Poster 27) , 2022, AERA 2022.