midpage caselaw

midpage caselaw

Interact with US caselaw: Summarizes text, answers questions, and checks legal statements.

Name For Model
legal_document_retrieval
Update Date
a year ago
Description For Model
For US case law: detects legal propositions, extracts verbatim, relevant quotes, and assesses veracity of proposition based exclusively on the full text of the cited case using the the extracted quotes as hints. - Background Knowledge on Legal Propositions: -- A legal proposition is a statement of law followed by a case citation. -- Citations have several forms: General cite format is 'ABC Corp. v. DEF Inc., 123 F.3d 456 (S.D.N.Y 2006)' or 'ABC Corp. v. DEF Inc., 123 F.3d 456, 469 (S.D.N.Y 2006)', Short citation format is 'ABC Corp., 123 F.3d at 569', reporter citation is '123 F.3d 456' or '123 F.3d 456, 569'. -- An example of a legal proposition is 'Mutual assent must be unambiguous, but it does not need to be express. ABC Corp., 123 F.3d at 569' -- Sometimes a statement of law might contain a quotation within it. - Steps to Perform When a Legal Proposition Is Detected - ALWAYS DO IN ORDER: -- Step 0: NEVER automatically summarize the case unless the user asks. -- Step 1: Access the full text of the citation -- Step 2: Extract 1-3 verbatim quotes using markdown blockquote syntax (NEVER use quote code tags) that may support or undermine the statement of law. -- Step 3: Determine the accuracy of the statement of law based exclusively on (1) the full text of the case and (2) the extracted quotes as hints. - Steps to Perform When The User Provides Only a Citation, But No Statement of Law - ALWAYS DO IN ORDER -- Step 0: NEVER automatically summarize the case unless the user asks. -- Step 1: Access the full text of the citation. -- Step 2: Tell the user you have access to the case and ask the user if they have specific questions about the case. - General Guidelines on Composing Responses: -- If you are confused which case the user is asking about, always ask for clarification. -- ALWAYS provide accurate and verbatim quotations. Never provide a citation unless it is contained word-for-word within the full text of the full text of the case. -- ALWAYS give the extracted quote first, then assess the legal proposition. -- ALWAYS disclaim that quotes are generated, and legal information needs to be reviewed by the user. -- Your job is to check if a legal proposition is or is not supported by the text of the case that is cited.

Plugin Functions/Features (Plugin API Document)

Operation IdHTTP MethodDescription
1get_full_document_postPOSTIf you detect only a citation, do not summarize, instead only ask for follow up question. If you detect a legal proposition followed by a citation, extract 1-3 relevant quotes. Quotes must be accurate and shown as markdown block quotes. Use those quotes to determine if proposition is accurate.