Th1nhNg0/law-query — reverse-engineered prompt
Reverse engineered prompt
Build me a small Python package that lets people search and browse Vietnamese law documents from code. It should come with a few built in law texts like the Civil Code 2015, Criminal Code 2015, Labour Code 2019, Maritime Code 2015, Civil Procedure Code 2015, and Criminal Procedure Code 2015.
I want users to install it with pip, import an Engine, list the available documents, load one document, print basic info, print the outline tree, and query sections in a simple way. Queries should work by things normal Vietnamese legal texts use, like phần, chương, mục, điều, khoản, điểm, with ids like 1, 2, I, II, a, b, or Vietnamese words like nhất and hai. It should also support searching by name text, like hôn nhân, and querying by a path from parent section down to a specific article.
Keep the API clean and easy to understand, include examples in the README, and make it installable locally for development.
Want more depth? Deep Reverse