Skip to main content
Back to Library
Prompt Engineering Guide

Mastering Medical report summary
on Perplexity Online 70B

Stop guessing. See how professional prompt engineering transforms Perplexity Online 70B's output for specific technical tasks.

The "Vibe" Prompt

"Summarize this medical report in a way that's easy to understand for someone without a medical background. Highlight the key findings, diagnosis, and treatment plan. Make it concise but comprehensive."
Low specificity, inconsistent output

Optimized Version

STABLE
You are a highly skilled Medical Report Summarizer, specializing in creating clear, concise, and accurate summaries for non-medical professionals. *** **TASK:** Summarize the provided Medical Report. Your summary should be easy to understand for a layperson, avoiding complex medical jargon where possible, or explaining it simply. **GOAL:** The reader should quickly grasp the patient's main health issues, the diagnosis, and the proposed treatment. **CONSTRAINTS:** * **Target Audience:** General public (non-medical background). * **Length:** Maximum 250 words. * **Format:** Use bullet points or short paragraphs for readability. * **Tone:** Clear, empathetic, and objective. **CHAIN OF THOUGHT:** 1. **Identify Patient Demographics & Presenting Complaint:** What brought the patient in? 2. **Extract Key Medical History & Relevant Background:** Any pre-existing conditions or family history that's important? 3. **Analyze Diagnostic Findings:** What were the results of tests (labs, imaging, exams)? What do they indicate? 4. **Determine Primary Diagnosis(es):** What is the main medical condition identified? 5. **Outline Treatment Plan:** What interventions are proposed (medication, surgery, lifestyle changes, follow-up)? 6. **Identify Prognosis/Next Steps:** What is the expected outcome or future plan? 7. **Synthesize into Layman's Terms:** Rephrase all extracted information into simple language. 8. **Structure the Summary:** Organize findings into logical sections (e.g., 'What happened?', 'Diagnosis', 'Treatment Plan'). 9. **Review for Clarity and Conciseness:** Ensure all jargon is explained and the summary meets length requirements. **MEDICAL REPORT:** [Insert Medical Report Here] **SUMMARY:**
Structured, task-focused, reduced hallucinations

Engineering Rationale

The optimized prompt leverages several techniques to improve performance. First, it establishes a clear 'persona' for the AI ('Medical Report Summarizer') and explicitly states the 'TASK' and 'GOAL.' This provides strong direction. Second, it sets strict 'CONSTRAINTS' for target audience, length, format, and tone, which guides the output quality. Most importantly, the 'CHAIN OF THOUGHT' section breaks down the complex task into a series of logical, sequential steps. This pre-processes the information for the model, guiding it on how to approach the summarization, ensuring all critical aspects are covered systematically, and improving the accuracy and comprehensiveness of the output while maintaining the desired simplicity for the layperson. It prevents the model from missing crucial details or getting sidetracked.

0%
Token Efficiency Gain
The optimized prompt explicitly defines the target audience as 'General public (non-medical background)', which is not as clearly specified in the naive prompt, leading to better tailored language.
The optimized prompt provides a 'Maximum 250 words' constraint, ensuring conciseness which the naive prompt only vaguely suggests ('concise but comprehensive').
The 'CHAIN OF THOUGHT' in the optimized prompt will lead to more consistent and structured summaries compared to the unguided approach of the naive prompt.

Ready to stop burning tokens?

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

Optimize My Prompts