SlideShare a Scribd company logo
Solving Business
Problems using
Date: 13th Sep 2023
Solving Business Problem
with Large Language
Models
Date: 25th Sep 2023
Table of Contents
2
Session’s Objective 03
Project Objective, Scope &
Benefits
04
Data Understanding & Contract
Rules
05-06
Infrastructure 07
Approach 08
Prompt usage for problem
solving
09-12
Prompting Techniques 13
Accuracy and Findings 14
Next Steps 15
Session’s Objective
Session’s Objective: How to solve a real business
problem with LLMs using Prompts
Project Objective, Scope and Benefits
Machine driven identification of non-complaint contracts of Oil and Gas
exploration and extraction in Europe
Objective
Benefits
• Efficiency Gains
• Reduced Human Errors
• Humanly impossible to check compliance of few thousand contracts
• Change in regulations require reassessment of existing contracts
Challenge
s
Data Understanding
~2000 Oil and Gas scanned contracts in PDF format
~500 Oil and Gas Scanned Contracts in PDF
format
Session’s Objective
Rules and Regulations of Oil and Gas Contracts
for Exploration and Extraction
Oil and Gas
Regulations
High Level Architecture
API Call
AI Engine
Input Layer
OneDrive
Contracts
Tesseract
Anaconda
Python ChatGPT 3.5
Output layer
4096 token
limit
Compliance
Report
Regulations
Approach
Oil & Gas
Contracts
Python
Contract in Text
Contract Split in parts
Compliance
Report
Read by Python Image to Text
Contract terms in
Image
Compliance
Rules
ChatGPT
Split in Parts
Does Contract
follow Rule?
ChatGPT used for code generation and to search rules in Contract; Python used for Data Processing
Licensed Area in Contract
Licensed Area comprises of one or more Blocks and its co-ordinates
The geographical area for which the firm, Tangram Energy Ltd and Summit
Exploration and Production Limited, has been given a license for oil and
gas extraction and production is referred to as "Block 14/26b.“
The coordinates of this licensed area are defined by a series of latitude and
longitude points, forming a polygon. The coordinates for Block 14/26b are
as follows:
58°10'00.000"N 1°00'00.000"W
58°10'00.000"N 0°48'00.000"W
58°00'00.000"N 0°48'00.000"W
58°00'00.000"N 0°50'00.000"W
58°05'00.000"N 0°50'00.000"W
58°05'00.000"N 0°56'00.000"W
58°06'00.000"N 0°56'00.000"W
58°06'00.000"N 1°00'00.000"W
58°10'00.000"N 1°00'00.000"W
These coordinates outline the boundaries of Block 14/26b, which is the
licensed area for oil and gas activities as specified in the provided text.
Co-ordinates - Gives
precise geographical
location
Block – A portion
within large area
Identify Licensed Area in Contract
Follow Prompt techniques to get desired output; ChatGPT output need to be monitored by humans
Contract Prompt Type ChatGPT Output
chrysaor-production-uk-limited-neo-energy-
zex-limited-p2521-exploitation
Zero shot prompt • No Block captured in Output
chrysaor-production-uk-limited-neo-energy-
zex-limited-p2521-exploitation
Multi shot prompt • 1 out of 4 Blocks captured correctly
chrysaor-production-uk-limited-neo-energy-
zex-limited-p2521-exploitation
Multi shot prompt with Business context • All 4 Blocks captured correctly
chrysaor-production-uk-limited-neo-energy-
zex-limited-p2521-exploitation
Business context from Domain expert • All 4 Blocks captured correctly
5258-apache-north-sea-limited-p2529-
exploitation-license-exploration-pdf
Multi shot prompt with Business context • 3 out of 4 Blocks captured correctly, 1
wrong Block captured
Step 1 : Identify prompt which captures License Areas & their coordinates
Step 2 : Indicates License Area present, partially present or not Present
Contract Prompt Type ChatGPT Output
chrysaor-production-uk-limited-neo-energy-
zex-limited-p2521-exploitation
1. Business context from Domain expert
2. Present fully, partially or not present
• Gives appropriate answer along with
additional information
Identify Licensed
Area
Data Confidentiality Clause in Contract
Data confidentiality is critical; data if leaked can result in economic and political consequences
All records, returns, plans, maps, samples, accounts and information (in
this clause referred to as "the specified data") which the Licensee is or may
from time to time be required to furnish under the provisions of this license
shall be supplied at the expense of the Licensee and shall not (except with
the consent in writing of the Licensee which shall not be unreasonably
withheld) be disclosed to any person not in the service or employment of
the OGA or the Crown
Identify Data Confidentiality Clause
Follow Prompt techniques to get desired output; ChatGPT output need to be monitored by humans
Contract Prompt Type ChatGPT Output
5263-ithaca-oil-and-gas-limited-p2534-
exploitation-license-explorationpdf
Multi-shot prompt with delimiters • Captures that data confidentiality clause
is present, no details
5263-ithaca-oil-and-gas-limited-p2534-
exploitation-license-explorationpdf
Multi-shot prompt, delimiters & only data
confidentiality details needed
• Captured most details of data
confidentiality, however few got missed
chrysaor-production-uk-limited-neo-energy-
zex-limited-p2521-exploitation
Delimiters & only data confidentiality details
needed
• Captured all details of data
confidentiality.
Step 1 : Identify prompt which captures Data Confidentiality Clause
Step 2 : Indicates Data Confidentiality Clause is present, partially present or not Present
Contract Prompt Type ChatGPT Output
chrysaor-production-uk-limited-neo-energy-
zex-limited-p2521-exploitation
1. Business context from Domain expert
2. Present fully, partially or not present
• Gives appropriate answer along with
additional information
Identify Data
Confidentiality Clause
Prompting Techniques
Prompting is an Art which improves with Experience
Prompting Techniques Short Description of Technique
Zero shot prompting Straight forward query with no example
Multi shot prompting Along with the requirement, examples are provided
Use of Delimiters Highlight portion of text using delimiters
Mention role ChatGPT should play Roles like Data Analyst, Business Analyst, Programmer etc.
Include 3 parts a) Role b) Requirement c) Output Format
Prompts with Business Context Business Context highly effective in getting accurate answers
Accuracy and Findings
Results
• 0.5% contracts with unclear
License area co-ordinates
• Data confidentiality
incomplete in 2% contracts
• 1.5% contracts without
damage clause
• No commitment to local
employment in 3% contracts
• No clause to protect natural
resources in 4% contracts
• 87% Accuracy
Accuracy
Next Steps
Fine tune ChatGPT 3.5 with 100
contracts
Evaluate performance improvement
Thank you!
Thank you!

More Related Content

Similar to AI Lecture in University (JK Lakshmipat University, India)

SMTAI PowerPoint: Blockchain for High Tech
SMTAI PowerPoint: Blockchain for High Tech SMTAI PowerPoint: Blockchain for High Tech
SMTAI PowerPoint: Blockchain for High Tech
Quentin Samelson
 
MIPI DevCon 2020 | Snapshot of MIPI RFFE v3.0 from a System-Architecture Per...
MIPI DevCon 2020 |  Snapshot of MIPI RFFE v3.0 from a System-Architecture Per...MIPI DevCon 2020 |  Snapshot of MIPI RFFE v3.0 from a System-Architecture Per...
MIPI DevCon 2020 | Snapshot of MIPI RFFE v3.0 from a System-Architecture Per...
MIPI Alliance
 
HIS 2015: Ivan Ellis - VISIUMCORE A High Integrity Processor for Safety Criti...
HIS 2015: Ivan Ellis - VISIUMCORE A High Integrity Processor for Safety Criti...HIS 2015: Ivan Ellis - VISIUMCORE A High Integrity Processor for Safety Criti...
HIS 2015: Ivan Ellis - VISIUMCORE A High Integrity Processor for Safety Criti...
AdaCore
 
Registration of detailed assignment information in whois DB or other sources
Registration of detailed assignment information in whois DB or other sourcesRegistration of detailed assignment information in whois DB or other sources
Registration of detailed assignment information in whois DB or other sources
APNIC
 
Gas Technology Institute & ET Environmental - CNG/LPG Garage Maintenance Cons...
Gas Technology Institute & ET Environmental - CNG/LPG Garage Maintenance Cons...Gas Technology Institute & ET Environmental - CNG/LPG Garage Maintenance Cons...
Gas Technology Institute & ET Environmental - CNG/LPG Garage Maintenance Cons...
Wisconsin Clean Cities
 
Blockchain in Industry 4.0 - How the Oil and Gas Industry is Utilizing these ...
Blockchain in Industry 4.0 - How the Oil and Gas Industry is Utilizing these ...Blockchain in Industry 4.0 - How the Oil and Gas Industry is Utilizing these ...
Blockchain in Industry 4.0 - How the Oil and Gas Industry is Utilizing these ...
Mike Bingle-Davis
 
Establishing sustainable GDPR compliance
Establishing sustainable GDPR complianceEstablishing sustainable GDPR compliance
Establishing sustainable GDPR compliance
Cloudera, Inc.
 
D4 Combining Scada data and Lidar to recitfy under performance
D4 Combining Scada data and Lidar to recitfy under performanceD4 Combining Scada data and Lidar to recitfy under performance
D4 Combining Scada data and Lidar to recitfy under performance
Kelly Dallas, MBA
 
MIPI DevCon 2020 | Interoperability Challenges and Solutions for MIPI I3C
MIPI DevCon 2020 | Interoperability Challenges and Solutions for MIPI I3CMIPI DevCon 2020 | Interoperability Challenges and Solutions for MIPI I3C
MIPI DevCon 2020 | Interoperability Challenges and Solutions for MIPI I3C
MIPI Alliance
 
Get the Most From Your Software Licenses with CA Software Asset Management
Get the Most From Your Software Licenses with CA Software Asset ManagementGet the Most From Your Software Licenses with CA Software Asset Management
Get the Most From Your Software Licenses with CA Software Asset Management
CA Technologies
 
Firebase introduction
Firebase introductionFirebase introduction
Firebase introduction
Mu Chun Wang
 
Cassandra for Java Developers @ Paris JUG
Cassandra for Java Developers @ Paris JUGCassandra for Java Developers @ Paris JUG
Cassandra for Java Developers @ Paris JUG
Alexandre Dutra
 
IP Outsourcing Problems... Tanenbaum, wtanenbaum@kayescholer.com Kaye Schole...
IP Outsourcing  Problems... Tanenbaum, wtanenbaum@kayescholer.com Kaye Schole...IP Outsourcing  Problems... Tanenbaum, wtanenbaum@kayescholer.com Kaye Schole...
IP Outsourcing Problems... Tanenbaum, wtanenbaum@kayescholer.com Kaye Schole...
William Tanenbaum
 
Assessing Network Readiness
Assessing Network ReadinessAssessing Network Readiness
Assessing Network Readiness
rAVe [PUBS]
 
ICANN 52: gTLD Technical Operations Lessons
ICANN 52:  gTLD Technical Operations LessonsICANN 52:  gTLD Technical Operations Lessons
ICANN 52: gTLD Technical Operations Lessons
ICANN
 
Inforln.com ERP LN 10.3 & 10.4 Project Peg Audit History Differences
Inforln.com ERP LN 10.3 & 10.4 Project Peg Audit History DifferencesInforln.com ERP LN 10.3 & 10.4 Project Peg Audit History Differences
Inforln.com ERP LN 10.3 & 10.4 Project Peg Audit History Differences
Dan Aldridge, ERP Software Evangelist, LION
 
No Time to Idle – License availability for business continuity
No Time to Idle – License availability for business continuityNo Time to Idle – License availability for business continuity
No Time to Idle – License availability for business continuity
team-WIBU
 
Making your PostgreSQL Database Highly Available
Making your PostgreSQL Database Highly AvailableMaking your PostgreSQL Database Highly Available
Making your PostgreSQL Database Highly Available
EDB
 
Analyzing RDP traffc with Bro
Analyzing RDP traffc with BroAnalyzing RDP traffc with Bro
Analyzing RDP traffc with Bro
Josh Liburdi
 
Leveraging Validation Lifecycle Data to Drive Actionable Business Insights
Leveraging Validation Lifecycle Data to Drive Actionable Business InsightsLeveraging Validation Lifecycle Data to Drive Actionable Business Insights
Leveraging Validation Lifecycle Data to Drive Actionable Business Insights
Tasktop
 

Similar to AI Lecture in University (JK Lakshmipat University, India) (20)

SMTAI PowerPoint: Blockchain for High Tech
SMTAI PowerPoint: Blockchain for High Tech SMTAI PowerPoint: Blockchain for High Tech
SMTAI PowerPoint: Blockchain for High Tech
 
MIPI DevCon 2020 | Snapshot of MIPI RFFE v3.0 from a System-Architecture Per...
MIPI DevCon 2020 |  Snapshot of MIPI RFFE v3.0 from a System-Architecture Per...MIPI DevCon 2020 |  Snapshot of MIPI RFFE v3.0 from a System-Architecture Per...
MIPI DevCon 2020 | Snapshot of MIPI RFFE v3.0 from a System-Architecture Per...
 
HIS 2015: Ivan Ellis - VISIUMCORE A High Integrity Processor for Safety Criti...
HIS 2015: Ivan Ellis - VISIUMCORE A High Integrity Processor for Safety Criti...HIS 2015: Ivan Ellis - VISIUMCORE A High Integrity Processor for Safety Criti...
HIS 2015: Ivan Ellis - VISIUMCORE A High Integrity Processor for Safety Criti...
 
Registration of detailed assignment information in whois DB or other sources
Registration of detailed assignment information in whois DB or other sourcesRegistration of detailed assignment information in whois DB or other sources
Registration of detailed assignment information in whois DB or other sources
 
Gas Technology Institute & ET Environmental - CNG/LPG Garage Maintenance Cons...
Gas Technology Institute & ET Environmental - CNG/LPG Garage Maintenance Cons...Gas Technology Institute & ET Environmental - CNG/LPG Garage Maintenance Cons...
Gas Technology Institute & ET Environmental - CNG/LPG Garage Maintenance Cons...
 
Blockchain in Industry 4.0 - How the Oil and Gas Industry is Utilizing these ...
Blockchain in Industry 4.0 - How the Oil and Gas Industry is Utilizing these ...Blockchain in Industry 4.0 - How the Oil and Gas Industry is Utilizing these ...
Blockchain in Industry 4.0 - How the Oil and Gas Industry is Utilizing these ...
 
Establishing sustainable GDPR compliance
Establishing sustainable GDPR complianceEstablishing sustainable GDPR compliance
Establishing sustainable GDPR compliance
 
D4 Combining Scada data and Lidar to recitfy under performance
D4 Combining Scada data and Lidar to recitfy under performanceD4 Combining Scada data and Lidar to recitfy under performance
D4 Combining Scada data and Lidar to recitfy under performance
 
MIPI DevCon 2020 | Interoperability Challenges and Solutions for MIPI I3C
MIPI DevCon 2020 | Interoperability Challenges and Solutions for MIPI I3CMIPI DevCon 2020 | Interoperability Challenges and Solutions for MIPI I3C
MIPI DevCon 2020 | Interoperability Challenges and Solutions for MIPI I3C
 
Get the Most From Your Software Licenses with CA Software Asset Management
Get the Most From Your Software Licenses with CA Software Asset ManagementGet the Most From Your Software Licenses with CA Software Asset Management
Get the Most From Your Software Licenses with CA Software Asset Management
 
Firebase introduction
Firebase introductionFirebase introduction
Firebase introduction
 
Cassandra for Java Developers @ Paris JUG
Cassandra for Java Developers @ Paris JUGCassandra for Java Developers @ Paris JUG
Cassandra for Java Developers @ Paris JUG
 
IP Outsourcing Problems... Tanenbaum, wtanenbaum@kayescholer.com Kaye Schole...
IP Outsourcing  Problems... Tanenbaum, wtanenbaum@kayescholer.com Kaye Schole...IP Outsourcing  Problems... Tanenbaum, wtanenbaum@kayescholer.com Kaye Schole...
IP Outsourcing Problems... Tanenbaum, wtanenbaum@kayescholer.com Kaye Schole...
 
Assessing Network Readiness
Assessing Network ReadinessAssessing Network Readiness
Assessing Network Readiness
 
ICANN 52: gTLD Technical Operations Lessons
ICANN 52:  gTLD Technical Operations LessonsICANN 52:  gTLD Technical Operations Lessons
ICANN 52: gTLD Technical Operations Lessons
 
Inforln.com ERP LN 10.3 & 10.4 Project Peg Audit History Differences
Inforln.com ERP LN 10.3 & 10.4 Project Peg Audit History DifferencesInforln.com ERP LN 10.3 & 10.4 Project Peg Audit History Differences
Inforln.com ERP LN 10.3 & 10.4 Project Peg Audit History Differences
 
No Time to Idle – License availability for business continuity
No Time to Idle – License availability for business continuityNo Time to Idle – License availability for business continuity
No Time to Idle – License availability for business continuity
 
Making your PostgreSQL Database Highly Available
Making your PostgreSQL Database Highly AvailableMaking your PostgreSQL Database Highly Available
Making your PostgreSQL Database Highly Available
 
Analyzing RDP traffc with Bro
Analyzing RDP traffc with BroAnalyzing RDP traffc with Bro
Analyzing RDP traffc with Bro
 
Leveraging Validation Lifecycle Data to Drive Actionable Business Insights
Leveraging Validation Lifecycle Data to Drive Actionable Business InsightsLeveraging Validation Lifecycle Data to Drive Actionable Business Insights
Leveraging Validation Lifecycle Data to Drive Actionable Business Insights
 

More from Jyotishko Biswas

Automated Contract Compliance using RAG based LLM solution-Abstract
Automated Contract Compliance using RAG based LLM solution-AbstractAutomated Contract Compliance using RAG based LLM solution-Abstract
Automated Contract Compliance using RAG based LLM solution-Abstract
Jyotishko Biswas
 
Winners of prestigious Global leadership program of HP
Winners of prestigious Global leadership program of HPWinners of prestigious Global leadership program of HP
Winners of prestigious Global leadership program of HP
Jyotishko Biswas
 
AI paper in IIM conference
AI paper in IIM conference AI paper in IIM conference
AI paper in IIM conference
Jyotishko Biswas
 
Recognized by HP Global CFO Sep 2022
Recognized by HP Global CFO Sep 2022Recognized by HP Global CFO Sep 2022
Recognized by HP Global CFO Sep 2022
Jyotishko Biswas
 
AI Lecture in University (JK Lakshmipat University, India)
AI Lecture in University (JK Lakshmipat University, India)AI Lecture in University (JK Lakshmipat University, India)
AI Lecture in University (JK Lakshmipat University, India)
Jyotishko Biswas
 
Recognized by HP Global CFO Sep 2023
Recognized by HP Global CFO Sep 2023Recognized by HP Global CFO Sep 2023
Recognized by HP Global CFO Sep 2023
Jyotishko Biswas
 

More from Jyotishko Biswas (6)

Automated Contract Compliance using RAG based LLM solution-Abstract
Automated Contract Compliance using RAG based LLM solution-AbstractAutomated Contract Compliance using RAG based LLM solution-Abstract
Automated Contract Compliance using RAG based LLM solution-Abstract
 
Winners of prestigious Global leadership program of HP
Winners of prestigious Global leadership program of HPWinners of prestigious Global leadership program of HP
Winners of prestigious Global leadership program of HP
 
AI paper in IIM conference
AI paper in IIM conference AI paper in IIM conference
AI paper in IIM conference
 
Recognized by HP Global CFO Sep 2022
Recognized by HP Global CFO Sep 2022Recognized by HP Global CFO Sep 2022
Recognized by HP Global CFO Sep 2022
 
AI Lecture in University (JK Lakshmipat University, India)
AI Lecture in University (JK Lakshmipat University, India)AI Lecture in University (JK Lakshmipat University, India)
AI Lecture in University (JK Lakshmipat University, India)
 
Recognized by HP Global CFO Sep 2023
Recognized by HP Global CFO Sep 2023Recognized by HP Global CFO Sep 2023
Recognized by HP Global CFO Sep 2023
 

Recently uploaded

The Intersection between Competition and Data Privacy – CAPEL – June 2024 OEC...
The Intersection between Competition and Data Privacy – CAPEL – June 2024 OEC...The Intersection between Competition and Data Privacy – CAPEL – June 2024 OEC...
The Intersection between Competition and Data Privacy – CAPEL – June 2024 OEC...
OECD Directorate for Financial and Enterprise Affairs
 
ASONAM2023_presection_slide_track-recommendation.pdf
ASONAM2023_presection_slide_track-recommendation.pdfASONAM2023_presection_slide_track-recommendation.pdf
ASONAM2023_presection_slide_track-recommendation.pdf
ToshihiroIto4
 
Using-Presentation-Software-to-the-Fullf.pptx
Using-Presentation-Software-to-the-Fullf.pptxUsing-Presentation-Software-to-the-Fullf.pptx
Using-Presentation-Software-to-the-Fullf.pptx
kainatfatyma9
 
BRIC_2024_2024-06-06-11:30-haunschild_archival_version.pdf
BRIC_2024_2024-06-06-11:30-haunschild_archival_version.pdfBRIC_2024_2024-06-06-11:30-haunschild_archival_version.pdf
BRIC_2024_2024-06-06-11:30-haunschild_archival_version.pdf
Robin Haunschild
 
Disaster Management project for holidays homework and other uses
Disaster Management project for holidays homework and other usesDisaster Management project for holidays homework and other uses
Disaster Management project for holidays homework and other uses
RIDHIMAGARG21
 
Artificial Intelligence, Data and Competition – LIM – June 2024 OECD discussion
Artificial Intelligence, Data and Competition – LIM – June 2024 OECD discussionArtificial Intelligence, Data and Competition – LIM – June 2024 OECD discussion
Artificial Intelligence, Data and Competition – LIM – June 2024 OECD discussion
OECD Directorate for Financial and Enterprise Affairs
 
Why Psychological Safety Matters for Software Teams - ACE 2024 - Ben Linders.pdf
Why Psychological Safety Matters for Software Teams - ACE 2024 - Ben Linders.pdfWhy Psychological Safety Matters for Software Teams - ACE 2024 - Ben Linders.pdf
Why Psychological Safety Matters for Software Teams - ACE 2024 - Ben Linders.pdf
Ben Linders
 
Pro-competitive Industrial Policy – OECD – June 2024 OECD discussion
Pro-competitive Industrial Policy – OECD – June 2024 OECD discussionPro-competitive Industrial Policy – OECD – June 2024 OECD discussion
Pro-competitive Industrial Policy – OECD – June 2024 OECD discussion
OECD Directorate for Financial and Enterprise Affairs
 
Competition and Regulation in Professions and Occupations – ROBSON – June 202...
Competition and Regulation in Professions and Occupations – ROBSON – June 202...Competition and Regulation in Professions and Occupations – ROBSON – June 202...
Competition and Regulation in Professions and Occupations – ROBSON – June 202...
OECD Directorate for Financial and Enterprise Affairs
 
原版制作贝德福特大学毕业证(bedfordhire毕业证)硕士文凭原版一模一样
原版制作贝德福特大学毕业证(bedfordhire毕业证)硕士文凭原版一模一样原版制作贝德福特大学毕业证(bedfordhire毕业证)硕士文凭原版一模一样
原版制作贝德福特大学毕业证(bedfordhire毕业证)硕士文凭原版一模一样
gpww3sf4
 
Pro-competitive Industrial Policy – LANE – June 2024 OECD discussion
Pro-competitive Industrial Policy – LANE – June 2024 OECD discussionPro-competitive Industrial Policy – LANE – June 2024 OECD discussion
Pro-competitive Industrial Policy – LANE – June 2024 OECD discussion
OECD Directorate for Financial and Enterprise Affairs
 
XP 2024 presentation: A New Look to Leadership
XP 2024 presentation: A New Look to LeadershipXP 2024 presentation: A New Look to Leadership
XP 2024 presentation: A New Look to Leadership
samililja
 
Carrer goals.pptx and their importance in real life
Carrer goals.pptx  and their importance in real lifeCarrer goals.pptx  and their importance in real life
Carrer goals.pptx and their importance in real life
artemacademy2
 
IEEE CIS Webinar Sustainable futures.pdf
IEEE CIS Webinar Sustainable futures.pdfIEEE CIS Webinar Sustainable futures.pdf
IEEE CIS Webinar Sustainable futures.pdf
Claudio Gallicchio
 
2024-05-30_meetup_devops_aix-marseille.pdf
2024-05-30_meetup_devops_aix-marseille.pdf2024-05-30_meetup_devops_aix-marseille.pdf
2024-05-30_meetup_devops_aix-marseille.pdf
Frederic Leger
 
Artificial Intelligence, Data and Competition – OECD – June 2024 OECD discussion
Artificial Intelligence, Data and Competition – OECD – June 2024 OECD discussionArtificial Intelligence, Data and Competition – OECD – June 2024 OECD discussion
Artificial Intelligence, Data and Competition – OECD – June 2024 OECD discussion
OECD Directorate for Financial and Enterprise Affairs
 
Artificial Intelligence, Data and Competition – SCHREPEL – June 2024 OECD dis...
Artificial Intelligence, Data and Competition – SCHREPEL – June 2024 OECD dis...Artificial Intelligence, Data and Competition – SCHREPEL – June 2024 OECD dis...
Artificial Intelligence, Data and Competition – SCHREPEL – June 2024 OECD dis...
OECD Directorate for Financial and Enterprise Affairs
 
The Intersection between Competition and Data Privacy – COLANGELO – June 2024...
The Intersection between Competition and Data Privacy – COLANGELO – June 2024...The Intersection between Competition and Data Privacy – COLANGELO – June 2024...
The Intersection between Competition and Data Privacy – COLANGELO – June 2024...
OECD Directorate for Financial and Enterprise Affairs
 
Suzanne Lagerweij - Influence Without Power - Why Empathy is Your Best Friend...
Suzanne Lagerweij - Influence Without Power - Why Empathy is Your Best Friend...Suzanne Lagerweij - Influence Without Power - Why Empathy is Your Best Friend...
Suzanne Lagerweij - Influence Without Power - Why Empathy is Your Best Friend...
Suzanne Lagerweij
 
Artificial Intelligence, Data and Competition – ČORBA – June 2024 OECD discus...
Artificial Intelligence, Data and Competition – ČORBA – June 2024 OECD discus...Artificial Intelligence, Data and Competition – ČORBA – June 2024 OECD discus...
Artificial Intelligence, Data and Competition – ČORBA – June 2024 OECD discus...
OECD Directorate for Financial and Enterprise Affairs
 

Recently uploaded (20)

The Intersection between Competition and Data Privacy – CAPEL – June 2024 OEC...
The Intersection between Competition and Data Privacy – CAPEL – June 2024 OEC...The Intersection between Competition and Data Privacy – CAPEL – June 2024 OEC...
The Intersection between Competition and Data Privacy – CAPEL – June 2024 OEC...
 
ASONAM2023_presection_slide_track-recommendation.pdf
ASONAM2023_presection_slide_track-recommendation.pdfASONAM2023_presection_slide_track-recommendation.pdf
ASONAM2023_presection_slide_track-recommendation.pdf
 
Using-Presentation-Software-to-the-Fullf.pptx
Using-Presentation-Software-to-the-Fullf.pptxUsing-Presentation-Software-to-the-Fullf.pptx
Using-Presentation-Software-to-the-Fullf.pptx
 
BRIC_2024_2024-06-06-11:30-haunschild_archival_version.pdf
BRIC_2024_2024-06-06-11:30-haunschild_archival_version.pdfBRIC_2024_2024-06-06-11:30-haunschild_archival_version.pdf
BRIC_2024_2024-06-06-11:30-haunschild_archival_version.pdf
 
Disaster Management project for holidays homework and other uses
Disaster Management project for holidays homework and other usesDisaster Management project for holidays homework and other uses
Disaster Management project for holidays homework and other uses
 
Artificial Intelligence, Data and Competition – LIM – June 2024 OECD discussion
Artificial Intelligence, Data and Competition – LIM – June 2024 OECD discussionArtificial Intelligence, Data and Competition – LIM – June 2024 OECD discussion
Artificial Intelligence, Data and Competition – LIM – June 2024 OECD discussion
 
Why Psychological Safety Matters for Software Teams - ACE 2024 - Ben Linders.pdf
Why Psychological Safety Matters for Software Teams - ACE 2024 - Ben Linders.pdfWhy Psychological Safety Matters for Software Teams - ACE 2024 - Ben Linders.pdf
Why Psychological Safety Matters for Software Teams - ACE 2024 - Ben Linders.pdf
 
Pro-competitive Industrial Policy – OECD – June 2024 OECD discussion
Pro-competitive Industrial Policy – OECD – June 2024 OECD discussionPro-competitive Industrial Policy – OECD – June 2024 OECD discussion
Pro-competitive Industrial Policy – OECD – June 2024 OECD discussion
 
Competition and Regulation in Professions and Occupations – ROBSON – June 202...
Competition and Regulation in Professions and Occupations – ROBSON – June 202...Competition and Regulation in Professions and Occupations – ROBSON – June 202...
Competition and Regulation in Professions and Occupations – ROBSON – June 202...
 
原版制作贝德福特大学毕业证(bedfordhire毕业证)硕士文凭原版一模一样
原版制作贝德福特大学毕业证(bedfordhire毕业证)硕士文凭原版一模一样原版制作贝德福特大学毕业证(bedfordhire毕业证)硕士文凭原版一模一样
原版制作贝德福特大学毕业证(bedfordhire毕业证)硕士文凭原版一模一样
 
Pro-competitive Industrial Policy – LANE – June 2024 OECD discussion
Pro-competitive Industrial Policy – LANE – June 2024 OECD discussionPro-competitive Industrial Policy – LANE – June 2024 OECD discussion
Pro-competitive Industrial Policy – LANE – June 2024 OECD discussion
 
XP 2024 presentation: A New Look to Leadership
XP 2024 presentation: A New Look to LeadershipXP 2024 presentation: A New Look to Leadership
XP 2024 presentation: A New Look to Leadership
 
Carrer goals.pptx and their importance in real life
Carrer goals.pptx  and their importance in real lifeCarrer goals.pptx  and their importance in real life
Carrer goals.pptx and their importance in real life
 
IEEE CIS Webinar Sustainable futures.pdf
IEEE CIS Webinar Sustainable futures.pdfIEEE CIS Webinar Sustainable futures.pdf
IEEE CIS Webinar Sustainable futures.pdf
 
2024-05-30_meetup_devops_aix-marseille.pdf
2024-05-30_meetup_devops_aix-marseille.pdf2024-05-30_meetup_devops_aix-marseille.pdf
2024-05-30_meetup_devops_aix-marseille.pdf
 
Artificial Intelligence, Data and Competition – OECD – June 2024 OECD discussion
Artificial Intelligence, Data and Competition – OECD – June 2024 OECD discussionArtificial Intelligence, Data and Competition – OECD – June 2024 OECD discussion
Artificial Intelligence, Data and Competition – OECD – June 2024 OECD discussion
 
Artificial Intelligence, Data and Competition – SCHREPEL – June 2024 OECD dis...
Artificial Intelligence, Data and Competition – SCHREPEL – June 2024 OECD dis...Artificial Intelligence, Data and Competition – SCHREPEL – June 2024 OECD dis...
Artificial Intelligence, Data and Competition – SCHREPEL – June 2024 OECD dis...
 
The Intersection between Competition and Data Privacy – COLANGELO – June 2024...
The Intersection between Competition and Data Privacy – COLANGELO – June 2024...The Intersection between Competition and Data Privacy – COLANGELO – June 2024...
The Intersection between Competition and Data Privacy – COLANGELO – June 2024...
 
Suzanne Lagerweij - Influence Without Power - Why Empathy is Your Best Friend...
Suzanne Lagerweij - Influence Without Power - Why Empathy is Your Best Friend...Suzanne Lagerweij - Influence Without Power - Why Empathy is Your Best Friend...
Suzanne Lagerweij - Influence Without Power - Why Empathy is Your Best Friend...
 
Artificial Intelligence, Data and Competition – ČORBA – June 2024 OECD discus...
Artificial Intelligence, Data and Competition – ČORBA – June 2024 OECD discus...Artificial Intelligence, Data and Competition – ČORBA – June 2024 OECD discus...
Artificial Intelligence, Data and Competition – ČORBA – June 2024 OECD discus...
 

AI Lecture in University (JK Lakshmipat University, India)

  • 1. Solving Business Problems using Date: 13th Sep 2023 Solving Business Problem with Large Language Models Date: 25th Sep 2023
  • 2. Table of Contents 2 Session’s Objective 03 Project Objective, Scope & Benefits 04 Data Understanding & Contract Rules 05-06 Infrastructure 07 Approach 08 Prompt usage for problem solving 09-12 Prompting Techniques 13 Accuracy and Findings 14 Next Steps 15
  • 3. Session’s Objective Session’s Objective: How to solve a real business problem with LLMs using Prompts
  • 4. Project Objective, Scope and Benefits Machine driven identification of non-complaint contracts of Oil and Gas exploration and extraction in Europe Objective Benefits • Efficiency Gains • Reduced Human Errors • Humanly impossible to check compliance of few thousand contracts • Change in regulations require reassessment of existing contracts Challenge s
  • 5. Data Understanding ~2000 Oil and Gas scanned contracts in PDF format ~500 Oil and Gas Scanned Contracts in PDF format
  • 6. Session’s Objective Rules and Regulations of Oil and Gas Contracts for Exploration and Extraction Oil and Gas Regulations
  • 7. High Level Architecture API Call AI Engine Input Layer OneDrive Contracts Tesseract Anaconda Python ChatGPT 3.5 Output layer 4096 token limit Compliance Report Regulations
  • 8. Approach Oil & Gas Contracts Python Contract in Text Contract Split in parts Compliance Report Read by Python Image to Text Contract terms in Image Compliance Rules ChatGPT Split in Parts Does Contract follow Rule? ChatGPT used for code generation and to search rules in Contract; Python used for Data Processing
  • 9. Licensed Area in Contract Licensed Area comprises of one or more Blocks and its co-ordinates The geographical area for which the firm, Tangram Energy Ltd and Summit Exploration and Production Limited, has been given a license for oil and gas extraction and production is referred to as "Block 14/26b.“ The coordinates of this licensed area are defined by a series of latitude and longitude points, forming a polygon. The coordinates for Block 14/26b are as follows: 58°10'00.000"N 1°00'00.000"W 58°10'00.000"N 0°48'00.000"W 58°00'00.000"N 0°48'00.000"W 58°00'00.000"N 0°50'00.000"W 58°05'00.000"N 0°50'00.000"W 58°05'00.000"N 0°56'00.000"W 58°06'00.000"N 0°56'00.000"W 58°06'00.000"N 1°00'00.000"W 58°10'00.000"N 1°00'00.000"W These coordinates outline the boundaries of Block 14/26b, which is the licensed area for oil and gas activities as specified in the provided text. Co-ordinates - Gives precise geographical location Block – A portion within large area
  • 10. Identify Licensed Area in Contract Follow Prompt techniques to get desired output; ChatGPT output need to be monitored by humans Contract Prompt Type ChatGPT Output chrysaor-production-uk-limited-neo-energy- zex-limited-p2521-exploitation Zero shot prompt • No Block captured in Output chrysaor-production-uk-limited-neo-energy- zex-limited-p2521-exploitation Multi shot prompt • 1 out of 4 Blocks captured correctly chrysaor-production-uk-limited-neo-energy- zex-limited-p2521-exploitation Multi shot prompt with Business context • All 4 Blocks captured correctly chrysaor-production-uk-limited-neo-energy- zex-limited-p2521-exploitation Business context from Domain expert • All 4 Blocks captured correctly 5258-apache-north-sea-limited-p2529- exploitation-license-exploration-pdf Multi shot prompt with Business context • 3 out of 4 Blocks captured correctly, 1 wrong Block captured Step 1 : Identify prompt which captures License Areas & their coordinates Step 2 : Indicates License Area present, partially present or not Present Contract Prompt Type ChatGPT Output chrysaor-production-uk-limited-neo-energy- zex-limited-p2521-exploitation 1. Business context from Domain expert 2. Present fully, partially or not present • Gives appropriate answer along with additional information Identify Licensed Area
  • 11. Data Confidentiality Clause in Contract Data confidentiality is critical; data if leaked can result in economic and political consequences All records, returns, plans, maps, samples, accounts and information (in this clause referred to as "the specified data") which the Licensee is or may from time to time be required to furnish under the provisions of this license shall be supplied at the expense of the Licensee and shall not (except with the consent in writing of the Licensee which shall not be unreasonably withheld) be disclosed to any person not in the service or employment of the OGA or the Crown
  • 12. Identify Data Confidentiality Clause Follow Prompt techniques to get desired output; ChatGPT output need to be monitored by humans Contract Prompt Type ChatGPT Output 5263-ithaca-oil-and-gas-limited-p2534- exploitation-license-explorationpdf Multi-shot prompt with delimiters • Captures that data confidentiality clause is present, no details 5263-ithaca-oil-and-gas-limited-p2534- exploitation-license-explorationpdf Multi-shot prompt, delimiters & only data confidentiality details needed • Captured most details of data confidentiality, however few got missed chrysaor-production-uk-limited-neo-energy- zex-limited-p2521-exploitation Delimiters & only data confidentiality details needed • Captured all details of data confidentiality. Step 1 : Identify prompt which captures Data Confidentiality Clause Step 2 : Indicates Data Confidentiality Clause is present, partially present or not Present Contract Prompt Type ChatGPT Output chrysaor-production-uk-limited-neo-energy- zex-limited-p2521-exploitation 1. Business context from Domain expert 2. Present fully, partially or not present • Gives appropriate answer along with additional information Identify Data Confidentiality Clause
  • 13. Prompting Techniques Prompting is an Art which improves with Experience Prompting Techniques Short Description of Technique Zero shot prompting Straight forward query with no example Multi shot prompting Along with the requirement, examples are provided Use of Delimiters Highlight portion of text using delimiters Mention role ChatGPT should play Roles like Data Analyst, Business Analyst, Programmer etc. Include 3 parts a) Role b) Requirement c) Output Format Prompts with Business Context Business Context highly effective in getting accurate answers
  • 14. Accuracy and Findings Results • 0.5% contracts with unclear License area co-ordinates • Data confidentiality incomplete in 2% contracts • 1.5% contracts without damage clause • No commitment to local employment in 3% contracts • No clause to protect natural resources in 4% contracts • 87% Accuracy Accuracy
  • 15. Next Steps Fine tune ChatGPT 3.5 with 100 contracts Evaluate performance improvement

Editor's Notes

  1. Agenda Slide - Complete 1. Team set-up – Org Chart. (Color needed) - Complete 2. Revenue Design 3. Progress slide - Complete 4. Model results Demo - Complete 5. Finance bridges 6. Data: FDS, Future,  7. SCF
  2. - 15 days spent to manually create report for HPS Indonesia. On this basis saving of 1280 manhours in 1 year has been calculated
  3. EU’s Directorate-General of Energy and Directorate-General of Environment are concerned about compliance on competition and environment laws Leading NGOs like Greenpeace and Friends of the Earth are concerned about compliance of Oil and Gas Contracts
  4. Pictures of the original contract are taken and digitally stored in a PDF format. Let’s focus on Tangram Energy Limited Contract Hence, we need OCR technology to read the text from these pictures. Page 32 has the description of license area. Confidentiality on contract terms in point 32. Tullow Oil – Uganda Government oil exploration and development contract got leaked in 2011-Details of taxation on oil, profit sharing between oil company and government leaked, Put oil production on hold
  5. - 15 days spent to manually create report for HPS Indonesia. On this basis saving of 1280 manhours in 1 year has been calculated
  6. Data is in OneDrive. Can create a Microsoft account and then get access to OneDrive. 5 GB free, post that have to purchase Microsoft 365 subscription Used Python tesseract package for OCR. ChatGPT used for Python Code generation Used for ChatGPT uses GPT 3.5/4 for code generation. Other LLMs good for code generation are Falcon, LLAMA, PaLM 2. Github co-pilot is a powerful tool for code generation. It is based on OpenAI Codex which is an LLM.
  7. Data is in OneDrive. Can create a Microsoft account and then get access to OneDrive. 5 GB free, post that have to purchase Microsoft 365 subscription Used Python tesseract package for OCR. ChatGPT used for Python Code generation Used for ChatGPT uses GPT 3.5/4 for code generation. Other LLMs good for code generation are Falcon, LLAMA, PaLM 2. Github co-pilot is a powerful tool for code generation. It is based on OpenAI Codex which is an LLM.
  8. This work has been done in personal capacity, includes publicly available data and isn’t built by using resources of my current employer.