Skip to main content
Back to Library
Prompt Engineering Guide

Mastering Medical report summary
on Gemini 1.5 Pro

Stop guessing. See how professional prompt engineering transforms Gemini 1.5 Pro's output for specific technical tasks.

The "Vibe" Prompt

"Summarize this medical report for a general audience. Make it easy to understand."
Low specificity, inconsistent output

Optimized Version

STABLE
Task: Summarize the provided medical report for a layperson. The summary should be concise, focusing on key diagnoses, treatments, and prognosis. Avoid medical jargon where possible, or explain it simply. Prioritize information relevant to the patient's current health status and next steps. Here is the medical report: [MEDICAL REPORT CONTENT] Chain of Thought: 1. **Identify the Core Request:** The user wants a summary of a medical report for a layperson. 2. **Target Audience Analysis:** 'Layperson' implies simple language, explanation of jargon, and focus on practical implications. 3. **Key Information Extraction:** I need to scan the report for diagnoses, treatments (past and planned), test results that led to diagnoses, and the overall prognosis. I should also look for 'next steps' or 'recommendations'. 4. **Jargon Identification & Simplification:** As I extract information, I will flag any complex medical terms and brainstorm simpler alternatives or brief explanations. 5. **Prioritization:** Urgent or significant diagnoses/treatments come first. Background information can be condensed. Focus on 'what does this mean for the patient?'. 6. **Conciseness Review:** After drafting, I will review for redundancy or overly detailed explanations. Can I say this with fewer words without losing clarity? 7. **Structure for Clarity:** I will likely structure the summary with headings or bullet points for readability (e.g., 'Main Findings', 'Treatment Plan', 'Next Steps'). 8. **Tone Check:** Ensure the tone is empathetic and informative, not alarmist or overly clinical. Summary:
Structured, task-focused, reduced hallucinations

Engineering Rationale

The optimized prompt works by providing explicit instructions, defining the target audience, and structuring a chain of thought. This guides the model to systematically extract, process, and present information in a desired format and style. The 'Chain of Thought' breaks down the task into manageable steps, reducing the cognitive load on the LLM and increasing the likelihood of a high-quality, relevant summary. It explicitly addresses key aspects like simplification of jargon, prioritization, and tone, which were only implied in the naive prompt.

0%
Token Efficiency Gain
The summary for the optimized prompt clearly identifies diagnoses, treatments, and prognosis.
The optimized prompt's summary avoids or explains medical jargon effectively.
The optimized prompt's summary is concise and easy for a layperson to understand.

Ready to stop burning tokens?

Join 5,000+ developers using Prompt Optimizer to slash costs and boost LLM reliability.

Optimize My Prompts