Trick

Verify a generated note against its source facts

truthfulness · works with GPT-4 · via dair-ai/Prompt-Engineering-Guide

The prompt

Patient's facts:
- 20 year old female
- with a history of anerxia nervosa and depression
- blood pressure 100/50, pulse 50, height 5'5''
- referred by her nutrionist but is in denial of her illness
- reports eating fine but is severely underweight

Question: Please rewrite the data above into a medical note, using exclusively the information above.

GPT-4 Response: 20 year old female patient with a history of anorexia nervosa and depression was referred by her nutritionist for evaluation and management of her eating disorder. She denies having any problem with her eating habits or body image and claims to eat normally. However, she is severely underweight for her height (BMI 16.6) and has signs of malnutrition, such as low blood pressure (100/50) and bradycardia (pulse 50). She also reports feeling depressed and hopeless. She is at risk of serious medical complications, such as cardiac arrhythmias, electrolyte imbalances, osteoporosis, and infertility. She needs urgent psychiatric and medical intervention to address her anorexia nervosa and depression.

Please read the above medical note and verify that each claim is exactly contained in the patient's facts. Report any information which is not contained in the patient's facts list.

Expected result

A line-by-line audit flagging every claim in the note not supported by the original facts — e.g. it should catch that "BMI 16.6", "bradycardia", and the psychiatric risk list were never actually stated, even though they sound plausible.

Why it works

Demonstrates using a model to catch its own hallucinations: give it a source-of-truth list plus a generated note, and ask it to verify every claim traces back to the source, rather than asking a fresh, ungrounded question.

Open in PrompVite to copy, rate, and discuss this prompt →