advancedChapter 9 of 12Exercise 2 of 4

Legal Document Analyzer

Build a production-grade prompt for legal document analysis that extracts key information and flags risks.

Your Task

Create a prompt for analyzing legal contracts. It should extract key clauses, flag potential risks, and produce structured output — all while including appropriate disclaimers.

Success Criteria

Prompt must handle legal document input with XML-structured output, include appropriate disclaimers, use evidence-gathering techniques, and produce consistent structured results.

Recommended Background

Review Avoiding Hallucinations before attempting this exercise for the best experience.

Cmd/Ctrl + Enter to submit