646e62 / case-brief

Generates a FIRAC-style case brief from a reported decision
GNU General Public License v3.0
2 stars 0 forks source link

NL analytical patterns for legal tests #30

Closed 646e62 closed 1 year ago

646e62 commented 1 year ago

Certain legal issues tend to come up all the time, so consistent ways of addressing those issues have developed. In law these are called legal tests, and are usually tied to and named after the case that first implemented the test (or made it authoritative). Legal tests are usually expressed as uniform if-then type lists, and seem to be easy enough for gpt-3.5 to spot them in text prompts and sort out how the test was or wasn't satisfied.

There should be a way to scan a document for it's citations and to do a search for the legal test pattern if the decision cites the originating case. This will allow gpt-3.5 to better understand the analysis and generate meaningful summaries