Skip to content

Instantly share code, notes, and snippets.

@anseljh
Created May 20, 2023 23:31
Show Gist options
  • Save anseljh/d434e26ff6342b153bcaf0addedac1aa to your computer and use it in GitHub Desktop.
Save anseljh/d434e26ff6342b153bcaf0addedac1aa to your computer and use it in GitHub Desktop.
Complaint Analyzer output
(llm-experiments-py3.9) (base) anseljh@Reckoner LLM-experiments % /Users/anseljh/Library/Caches/pypoetry/virtualenvs/llm-experiments-C4hRgssD-py3.9/bin/python /Users/anseljh/Code/LLM-experiments/complaint.py
****************************** Get complaint document from CourtListener ******************************
89575
****************************** Citation extraction (eyecite) ******************************
Found 45 citations.
Reduced to 17 citations:
- 28 U.S.C. § 1391
- 28 U.S.C. §§ 1331
- 28 U.S.C. §§ 2201
- 42 U.S.C. § 18116
- 42 U.S.C. § 1983
- 42 U.S.C. § 1988
- 45 C.F.R. § 92.3
- Tenn. Code Ann. § 68
- Tenn. Code Ann. § 68-103
- Tenn. Code Ann. § 68-33-101
- Tenn. Code Ann. § 68-33-102
- Tenn. Code Ann. § 68-33-103
- Tenn. Code Ann. § 68-33-104
- Tenn. Code Ann. § 68-33-106
- Tenn. Code Ann. § 68-33-107
- Tenn. Code Ann. §§ 68-33-102
- Tenn. Code Ann. §§ 68-33-105
****************************** Document summary (Cohere) ******************************
Setting up Cohere...
<cohere.client.Client object at 0x7fd52e139640>
Summarizing...
Summary:
N. Lacy, on behalf of herself and her patients, minor children, and their doctors, brings this action for declaratory and injunctive relief against the State of Tennessee, the Tennessee Department of Health, the Tennessee Board of Medical Examiners, and the Tennessee Attorney General. The Health Care Ban prohibits the provision of gender-affirming care to transgender minors. The Ban deprives transgender minors of the medical care that enables them to thrive, and it deprives their parents of their fundamental right to make decisions concerning the care of their children. The Ban also violates federal law.
****************************** Citation summary (OpenAI) ******************************
28 U.S.C. § 1391 is a federal law that provides the federal district for the purposes of diversity. 28 U.S.C. §§ 1331 is the Federal Questions jurisdiction statute. 28 U.S.C. §§ 2201 is the Declaratory Judgments statute. 42 U.S.C. § 18116 is a federal law dealing with chemical weapons. 42 U.S.C. § 1983 is a federal law that creates a civil cause of action for deprivations of civil rights. 42 U.S.C. § 1988 is a federal law that provides the method of selecting payment for attorneys in federal court suits. 45 C.F.R. § 92.3 is a federal regulation regarding child welfare services. Tenn. Code Ann. § 68 is a Tennessee law that provides definitions for words used in the Tennessee Code Annotated. Tenn. Code Ann. § 68-103 is a Tennessee law regarding an affidavit for registration of securities. Tenn. Code Ann. §§ 68-33-101, 68-33-102, 68-33-103, 68-33-104, 68-33-106, 68-33-107 are Tennessee laws dealing with the Tennessee Educational Lottery Corporation. Tenn
****************************** Area of law identification (OpenAI using Cohere summary) ******************************
This case would fall under civil rights law.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment