What problem does it solve? Drafting legally compliant Chinese documents such as civil complaints, contracts, and legal aid forms requires precise formatting and correct legal terminology, which is slow and error-prone when done manually. ## Core Features & Use Cases - Dual-Driven Template Matching: Locate templates via keyword matching or AI case analysis, searching a user template folder first and a built-in library of 200+ official templates second. - Word Template Processing: Parse .docx templates, extract {{placeholder}} fields, fill them with case data, and export Word or PDF output via python-docx and reportlab. - Compliance & Statute Linking: Validate documents against compliance checklists and retrieve relevant legal articles from a local law database. - Use Case: A legal aid worker needs 10 criminal case meeting forms; they run the batch generator with a JSON data file to produce all filled .docx documents at once. ## Quick Start Ask the assistant to generate a civil complaint for a loan dispute using the legal document templates, providing the plaintiff, defendant, and claim details.