A full guide on extraction information from the documents that you don't want to read.
LLMs can also effectively extract information from large volumes of text.
Common use cases involving extraction prompts include, but are not limited to:
Information Retrieval: Extracting specific information from large datasets or complex documents, like identifying key terms, phrases, or sections in legal documents.
Named Entity Recognition (NER): Extracting named entities such as people, organizations, locations, dates, etc. from a text.
Event Extraction: Identifying and extracting key events, participants, etc. from a given text.
Example 1 - Contract Clause Extraction
Law firms often need to review large contracts to extract specific clauses for analysis.
This task can be automated using ChatGPT to identify and extract relevant clauses.
Here is an example:
Extract the confidentiality and indemnity clauses from the contract provided.
Output
Contract Excerpt: "This Agreement contains various terms including, but not limited to, confidentiality and indemnity provisions. The confidentiality clause states: 'Both parties agree to keep all information confidential...' The indemnity clause provides: 'The indemnifying party agrees to hold the indemnified party harmless against any claims...'"
Confidentiality Clause: Both parties agree to keep all information confidential...
Indemnity Clause: The indemnifying party agrees to hold the indemnified party harmless against any claims...
Contract Excerpt: "The confidentiality provision is critical to this agreement. It specifies: 'All parties must treat any shared information as confidential...' The indemnity section is equally important: 'Each party shall indemnify the other from any liabilities or damages...'"
Confidentiality Clause: All parties must treat any shared information as confidential...
Indemnity Clause: Each party shall indemnify the other from any liabilities or damages...
Contract Excerpt: "This Agreement includes detailed terms on various subjects. Confidentiality is addressed as follows: 'Confidential information shall not be disclosed...' Indemnity is covered under: 'The indemnifying party shall compensate the indemnified party for any losses...'"
Additional Examples
Example 2 - Extracting GDPR Compliance Requirements
Data protection officers need to ensure compliance with GDPR. Here’s how to extract specific GDPR compliance requirements from a lengthy document.
Extract the GDPR compliance requirements from the provided document.
Focus on data processing, consent, and data breach notification.
|| Do not include in prompt {{Attach the GDPR Act 2018}}
Output
Document Excerpt: "The GDPR mandates that data processing should be lawful, fair, and transparent. Consent must be obtained from individuals, and they should be informed about their rights. In the event of a data breach, the organisation must notify the relevant supervisory authority within 72 hours."
Data Processing: Data processing should be lawful, fair, and transparent.
Consent: Consent must be obtained from individuals, and they should be informed about their rights.
Data Breach Notification: Notify the relevant supervisory authority within 72 hours.
Document Excerpt: "Under GDPR, personal data must be processed with respect for the individual's rights. Explicit consent is required, and individuals should be able to withdraw consent easily. Data breaches must be reported promptly to the supervisory authority and affected individuals."
Data Processing: Personal data must be processed with respect for the individual's rights.
Consent: Explicit consent is required, and individuals should be able to withdraw consent easily.
Data Breach Notification: Report promptly to the supervisory authority and affected individuals.
Example 3 - Extracting Key Provisions from Employment Contracts
Employment lawyers often need to extract key provisions from employment contracts, such as non-compete and termination clauses. Here’s an example of how to do this.
Extract the non-compete and termination clauses from the employment contract provided.|| Do not include in prompt {{Attach the GDPR Act 2018}}
Output
Contract Excerpt: "The employment agreement includes several key provisions.
The non-compete clause states: 'The employee shall not engage in any competing business activities...'
The termination clause specifies: 'Either party may terminate this agreement with 30 days' notice...'"
Non-Compete Clause: The employee shall not engage in any competing business activities...
Termination Clause: Either party may terminate this agreement with 30 days' notice...
Contract Excerpt: "This contract includes important terms regarding non-competition and termination.
The non-compete provision reads: 'The employee agrees not to work for any competitors...'
The termination section details: 'Termination can occur by either party providing a 60-day notice...'"
Non-Compete Clause: The employee agrees not to work for any competitors...
Termination Clause: Termination can occur by either party providing a 60-day notice...
Contract Excerpt: "The employment agreement outlines several conditions.
The non-compete clause is: 'The employee shall refrain from any business that competes...'
The termination clause is: 'This contract may be terminated by giving a 90-day notice...'"
Example 3 - Extracting Information from PDF Files: Lease Agreements
PDF files often contain critical information that needs to be extracted for review. Here’s how to extract key terms from a lease agreement.
Extract the rent amount, lease term, and renewal options from the attached PDF lease agreement.
Output
PDF Content: "LEASE AGREEMENT: The rent amount is set at £1,200 per month. T
The lease term is for 12 months, starting from January 1, 2023, to December 31, 2023.
Renewal options include a one-year extension upon mutual agreement."
Rent Amount: £1,200 per month Lease Term: 12 months, from January 1, 2023, to December 31, 2023
Renewal Options: One-year extension upon mutual agreement
PDF Content: "LEASE TERMS: Monthly rent is £950. The lease duration is 24 months, commencing on March 1, 2022, and ending on February 28, 2024. Renewal is available for an additional two years if both parties agree."
Rent Amount: £950 per month Lease Term: 24 months, from March 1, 2022, to February 28, 2024
Renewal Options: Additional two years upon agreement
PDF Content: "AGREEMENT DETAILS: Rent is £1,500 monthly. The lease is valid for 18 months, from June 1, 2023, to November 30, 2024. Tenants have the option to renew for another year."
Example 4 - Extracting Information from PDF Files: Court Judgments
Lawyers often need to review court judgments and extract specific information such as the judgment date, parties involved, and the final decision. Here’s how to do it.
Extract the judgment date, parties involved, and the final decision from the attached PDF court judgment.
Output
PDF Content: "COURT JUDGMENT: The case between John Doe and Jane Smith was decided on April 15, 2023. The court ruled in favour of the plaintiff, John Doe, awarding damages of £50,000."
Judgment Date: April 15, 2023 Parties Involved: John Doe and Jane Smith Final Decision: In favour of John Doe, awarding damages of £50,000
PDF Content: "JUDGMENT DETAILS: On May 20, 2022, the court heard the case of ABC Ltd. vs. XYZ Corp. The court's decision was to dismiss the case due to lack of evidence."
Judgment Date: May 20, 2022 Parties Involved: ABC Ltd. vs. XYZ Corp.
Final Decision: Case dismissed due to lack of evidence
PDF Content: "DECISION: The High Court's ruling on June 30, 2021, between Mr. A and Mrs. B resulted in a judgment for the defendant, Mrs. B, with no damages awarded."
The above prompts can be time-consuming to undertake on repeat basis; we offer a to ensure that your teams have the relevant prompts on hand to ensure information is easily accessible from any documents received by your firm.