Table 2 Prompts for zero- and few-shot learning using ChatGPT.
From: AI and narrative embeddings detect PTSD following childbirth via birth stories
Model | Prompt |
|---|---|
Zero-shot | You are a psychiatrist specialized in diagnosing and treating Post-Traumatic Stress Disorder (PTSD). I will provide you with a narrative written by a woman describing her birth experience. Your task is to decide whether this woman is at high risk of PTSD (Label 1) or lower risk of PTSD (Label 0). Do not write anything but ‘1’ or ‘0’. ### < Text > : ”{text}” |
Few-shot | You are a psychiatrist specialized in diagnosing and treating Post-Traumatic Stress Disorder (PTSD). I will provide you with a narrative written by a woman describing her birth experience. Your task is to decide whether this woman is at high risk of PTSD (Label 1), or lower risk of PTSD (Label 0). Do not write anything but ’1’ or ’0’. Here are a few examples of text with their associated class labels as ‘1’ (PTSD) or ‘0’ (No-PTSD). < Text > : “{PTSD narrative}” < Label > : 1 ### < Text > : “{No-PTSD narrative}” < Label > : 0 ### < Text > : “{text}” |