Workshop 5: Prompt Iteration & Output Refinement for Legal Professionals
A comprehensive guide to refining prompts for legal applications and custom GPTs. Learn systematic improvement techniques over multiple iterations to achieve production-ready outputs.
HS
by Haojun See
On The Ground - AI Adoption for Businesses and Individuals
Why Prompt Refinement Matters
Control Tone
Ensure consistent voice in client communications and legal documents.
Improve Formatting
Create structured outputs that follow legal documentation standards.
Reduce Hallucination
Minimise inaccuracies that could lead to legal or ethical issues.
Anticipate Edge Cases
Plan for uncommon scenarios that might arise in legal contexts.
Common Prompt Failure Points
Too Broad
Vague instructions like "Make this better" lead to unpredictable results.
Too Vague
Ambiguous requests such as "Write this nicely" lack specific direction.
Too Long
Overloaded prompts try to accomplish multiple tasks simultaneously.
Too Assumption-Heavy
Presuming context without verification creates misaligned outputs.
Week's Objective
Start with Working Prompt
Begin with your functional prompt from the previous week.
Improve Over Multiple Rounds
Refine through 3-4 iterations using real-world legal test data.
Understand Impact of Tweaks
Observe how minor adjustments improve reliability and usefulness.
Prepare for Custom GPT
Finalise a refined prompt ready for embedding next week.
Anatomy of a High-Quality Prompt
Clear Role
"You are a legal assistant specialising in contract review..."
Specific Task
"Summarise these clauses..." or "Identify potential liabilities..."
Desired Format
"Provide 3 bullet points" or "Format as a formal legal memo"