SlideShare a Scribd company logo
Wednesday June 21, 2023
Brisbane MuleSoft Meetup Group
Integrate ChatGPT with MuleSoft to Power Business
2
● 5:00 PM - Registration / Networking
● 5:15 PM - Introduction and announcements
● 5:30 PM - Integrate ChatGPT with MuleSoft to Power Business
● 6:15 PM - Wrap Up
Agenda
MuleSoft Product Announcements
Announcements
4
MuleSoft released Anypoint API Experience Hub, a
new solution that enables organizations to build
developer portals for their API products. With API
Experience Hub, API product managers can build
personalized developer portals within minutes using
an out-of-the-box template that help them productize,
publish, and engage with APIs built across any
technology or platform.
Anypoint Experience Hub
5
24 — 28 July, 2023 | Gold Coast, Queensland,
Australia
CALLING ALL TRAILBLAZERS!
Pack your bags for Trailblazer Bootcamp. With five
days of expert-led learning, nine role-based tracks,
two onsite certification exams, and endless
networking opportunities, Trailblazer Bootcamp is the
place to build expertise and accelerate your path to
certification.
Trailblazer Bootcamp Gold Coast
6
Introducing Anypoint Code Builder Open Beta
Enhancements
● Open Beta availability on the EU control plane
Allowing more developers to access ACB!
● Iterative API design and implementation
introducing iterative API design and implementation to Anypoint
Code Builder. This allows you to start designing your API
specification and then hop directly into the implementation
phase to start adding business logic before completing the
design phase.
● Added UI support for Snippets
Select connectors directly from Anypoint Exchange while adding
Anypoint Code Builder Updates – June 2023
Organizers, Sponsors, and Speakers
Intorductions
8
Organizers
Want to do a MuleSoft Meetup Talk? Reach out to our event organizers 
Nicholas ip
Senior Consultant at
MuleSoft | MuleSoft
Meetup Leader
Ryan Andal
MuleSoft
Ambassador |
Architect | TOGAF®
9 | AWS | Azure |
Associate Manager -
MuleSoft at
Capgemini
Brian Fraser
MuleSoft
Ambassador and
Meetup Leader |
Senior Integration
Consultant and
Manager at
Capgemini
Fuguo Wei
Principal Integration
Architect at
Cloudwerx |
MuleSoft Mentor |
MuleSoft Meetup
Leader
9
Sponsors
Check out our Sponsors
Capgemini
Capgemini is a global consulting and technology services company that
empowers businesses through comprehensive services, innovative solutions, and
a strong focus on digital transformation, helping them thrive in the digital age.
Cloudwerx
Cloudwerx, founded in 2018 by industry experts, leverages cutting-edge
technologies such as Salesforce, MuleSoft, and UiPath to empower your
business with streamlined processes and high-power automations, enabling
growth and the amplification of your team's human talents.
10
Speakers
Want to know more about our speakers? Check them out.
Fuguo Wei
● Principal Integration Architect at Cloudwerx
● MuleSoft Mentor
● MuleSoft Meetup Leader
21/June/2023
Integrate ChatGPT with
MuleSoft to power
businesses
Fuguo Wei
Fuguo Wei
Principal Integration Architect
MuleSoft Mentor & MuleSoft Meetup Leader
https://au.linkedin.com/in/fuguowei
fuguo.wei@cloudwerx.co
13
● Problem Statements
● Solutions
● Demo
● Q & A
Agenda
I would like to thank my colleague Suraj Rohankar from Cloudwerx
for providing me with the base implementation of this demo.
Acknowledgement
Ozi Electronics, an electronics distributor, faces significant challenges in their offer and order processing system. The current process relies heavily
on manual intervention, as emails containing offers from vendors and orders from customers must be read and understood by humans. This
manual approach not only limits scalability but also introduces the possibility of errors due to human oversight. These issues hinder Ozi Electronics'
business growth and efficiency in the following ways:
● Lack of scalability: The manual nature of processing offers and orders prevents Ozi Electronics from efficiently handling a large volume of
incoming emails. As the business grows, the current process becomes increasingly time-consuming and resource-intensive, limiting their
ability to expand operations and cater to a broader customer base.
● Error-prone process: Reliance on human interpretation of emails makes the offer and order processing system susceptible to errors.
Mistakes can occur during the manual extraction of relevant information, resulting in incorrect product details, pricing discrepancies, or even
missed orders. Such errors can negatively impact customer satisfaction, trust, and ultimately the company's reputation.
● Inefficient matching of offers and orders: Matching incoming customer orders with the available offers from vendors is a time-consuming and
error-prone task. Human involvement in the process increases the likelihood of missing out on potential cost savings or overlooking suitable
product options that could meet customer requirements. This leads to missed sales opportunities and dissatisfied customers.
Therefore, Ozi Electronics needs an automated solution that can streamline their offer and order processing workflow, reduce manual intervention,
improve scalability, and minimize the occurrence of errors. This solution should efficiently analyse incoming emails, extract relevant information,
store offers and orders, match offers with customer orders accurately, and generate invoices with the correct product details and pricing. By
addressing these challenges, Ozi Electronics can enhance operational efficiency, scale their business effectively, and provide a better customer
experience.
Problem Statements
Offers & Orders Processing
Customers
Extract offers and
record them
manually
Check Orders email
inbox
Extract orders and
record them
manually
Check Offers email
inbox
Reply To Customer
Vendors
Free text email
orders
Ozi
Electronics
Sales
Team
Free text email offers
Match orders with
offers and find the
best deal
Challenges
Not scalable impeding business
growth
Increased time and cost to complete task
Human errors that can cause downstream impacts
Staff dissatisfaction from unstimulating and repetitive
tasks
Inefficient orders & orders matching leading to missed
sales and unhappy customers
Automated Orders & Offers Processing
New
Offers/Orders
Email
Read email and
transform the
content
Call ChatGPT 3.5
Completion API
for interpretation
ChatGPT
Analyse texts
using models
based on prompts
Return analysis
results
Construct
prompts
Verify the results
Good
Quality?
Yes
Salesforce
Create
Offers/Orders
Call SF APIs
to create
Offers/Orders
Call SF APIs
to create a
case and a
junk object
Order fulfilment to
find the best deal
Create a
case/junk object
Send Slack
notification to
Sales Team
No
Why MuleSoft?
System Integration
Mule Anypoint
Enterprise Applications
Not only due to MuleSoft’s powerful api and data transformation
capabilities, it acts as the backbone of the integration, seamlessly
connecting various enterprise systems, databases, and applications
involved in the offers/orders processing workflow.
Why ChatGPT?
ChatGPT is an AI language model developed by OpenAI in 2022 based on the GPT
(Generative Pre-trained Transformer) series of models. These models have been trained
on a large amount of data.
● Transformer models use neural network
architecture
● Transformers are particularly effective for
natural language processing tasks
because they can capture the contextual
relationships between words and generate
coherent and contextually relevant
responses.
● Can fine-tune (i.e. customise) a model or
specific tasks using supervised learning or
reinforcement learning techniques to
improve its performance on particular
applications
source: https://www.scalablepath.com/data-science/chatgpt-architecture-explained
https://platform.openai.com/docs/guides/fine-tuning
ChatGPT APIs
Creates a model response for the given chat conversation.
https://api.openai.com/v1/chat/completions
curl https://api.openai.com/v1/chat/completions 
-H "Content-Type: application/json" 
-H "Authorization: Bearer $OPENAI_API_KEY" 
-d '{
"model": "gpt-3.5-turbo",
"temperature": 0,
"messages": [{"role": "user", "content": "Hello!"}]
}'
Source: https://platform.openai.com/docs/api-reference/chat/create
{
"id": "chatcmpl-7TVOfuTOsjXV8ERgJcFZIT4gAxlX5",
"object": "chat.completion",
"created": 1687266557,
"model": "gpt-3.5-turbo-0301",
"usage": {
"prompt_tokens": 10,
"completion_tokens": 10,
"total_tokens": 20
},
"choices": [
{
"message": {
"role": "assistant",
"content": "Hello there! How can I assist you today?"
},
"finish_reason": "stop",
"index": 0
}
]
}
Sample Offers
Original Offers Transformed inputs
Transformed ChatGPT
responses
{
"model": "gpt-3.5-turbo",
"temperature": 0,
"messages": [
{
"role": "user",
"content": "can you find out the details in following offers individually for
each brand name, Product Quantity and Price from following messageHello
James,rnrnrnLenovo ThinkPad X1 Nano G1 -20UN000HAU- Intel i5-
1135G7 / 16GB 4266MHz /rn512GB SSD / 13" 2K / 4G LTE / W10P / 3-3-3,
Quantity 100, $3,378.00rnrnLenovo ThinkPad USB-C Dock - 2x DP, 1x VGA,
3x USB 3.0, 2 x USB 2.0, 1xrnUSB-C, 1x Gigabit Ethernet, 1x Stereo/Mic
Combo Port, qty 50, $349.00rnrnrnFujitsu Lifebook E5413, i5-1345U, 16GB
(2x8GB), 256GB SSD, 14.0" FHD Touch,rnHELLO Cam, LTE Ready (no
module incl), W11P, 3YR NBD Onsitern100rn$2,836.00rnrnrnOKI
C834nw A3 Colour LED Laser Printerrn50rn$1,319.00rnrnSamsung 50"
The Frame QLED 4K Smart TV, 20, $3,499.00rnrnKind regards,rnFuguo
WeirnPh: 0491726896rnCustomer Manager | Fuguo
Autornfuguoelectronics.co <http://fuguoauto.co/> |
LinkedInrn<https://au.linkedin.com/in/fuguowei>rnn<div dir="ltr"><div>Hello
James,<br></div><div><br></div><div><br></div><div>Lenovo ThinkPad X1
Nano G1 -20UN000HAU- Intel i5-1135G7 / 16GB 4266MHz / 512GB SSD /
13&quot; 2K / 4G LTE / W10P / 3-3-3, Quantity 100,
$3,378.00</div><div><br>Lenovo ThinkPad USB-C Dock - 2x DP, 1x VGA, 3x
USB 3.0, 2 x USB 2.0, 1x USB-C, 1x Gigabit Ethernet, 1x Stereo/Mic Combo
Port, qty 50, $349.00<br></div><div><br></div><div><br>Fujitsu Lifebook
E5413, i5-1345U, 16GB (2x8GB), 256GB SSD, 14.0&quot; FHD Touch,
HELLO Cam, LTE Ready (no module incl), W11P, 3YR NBD
Onsite<br></div><div>100</div><div>$2,836.00<br></div><div><br></div><div
><br>OKI C834nw A3 Colour LED Laser
Printer<br></div><div>50</div><div>$1,319.00<br></div><div><br></div><div>
Samsung 50&quot; The Frame QLED 4K Smart TV, 20,
$3,499.00</div><div><br></div><div><div style="font-size:26px;font-
weight:700;box-sizing:border-box"><font size="2">Kind
regards,</font></div><div style="font-family:Helvetica;font-
size:12px;color:rgb(0,0,0)">Fuguo Wei<br>Ph: 0491726896<br>Customer
Manager | Fuguo Auto<br><a href="http://fuguoauto.co/"
target="_blank">fuguoelectronics.co</a> | <a
href="https://au.linkedin.com/in/fuguowei"
target="_blank">LinkedIn</a></div></div></div>"
}
]
}
[
{
"BrandName": "Lenovo",
"Product": "ThinkPad X1 Nano G1",
"Quantity": "100",
"Price": "$3,378.00"
},
{
"BrandName": "Lenovo",
"Product": "ThinkPad USB-C Dock",
"Quantity": "50",
"Price": "$349.00"
},
{
"BrandName": "Fujitsu",
"Product": "Lifebook E5413",
"Quantity": "100",
"Price": "$2,836.00"
},
{
"BrandName": "OKI",
"Product": "C834nw A3 Colour LED Laser Printer",
"Quantity": "50",
"Price": "$1,319.00"
},
{
"BrandName": "Samsung",
"Product": "The Frame QLED 4K Smart TV",
"Quantity": "20",
"Price": "$3,499.00"
}
]
Sample Orders
Original Order Transformed texts ChatGPT responses
{
"model": "gpt-3.5-turbo",
"temperature": 0,
"messages": [
{
"role": "user",
"content": "can you find out the details in following orders
individually for each brand name, Product Quantity from following
messageHello Ozi Electronics team,rnrnCan I get 5
Sumsungrnrn50 inch QLED 4K Smart T
Vs?rnrnCheers,rnJohn CitizenrnPh:
0429829334rnProcurement Manager | Goodmates.com.au
<http://goodmates.com.au/>rngoodmates.com.au
<http://fuguoauto.co/> |
LinkedInrn<https://au.linkedin.com/in/fuguowei>rnn<div
dir="ltr"><div dir="ltr" class="gmail_attr"
style="color:rgb(80,0,80)">Hello Ozi Electronics
team,<br></div><div dir="ltr"
style="color:rgb(80,0,80)"><div><br></div><div>Can I get 5
Sumsung </div><div><div><div><br></div><div>50 inch QLED 4K
Smart T Vs?</div><div><br></div><div>Cheers,</div><div><span
style="font-family:Helvetica;font-size:12px">John
Citizen</span></div><div><span style="font-family:Helvetica;font-
size:12px">Ph: 0429829334<br>Procurement Manager | <a
href="http://goodmates.com.au/"
target="_blank">Goodmates.com.au</a></span></div><div><a
href="http://fuguoauto.co/" target="_blank" style="font-
family:Helvetica;font-size:12px">goodmates.com.au</a><span
style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px"> |
</span><a href="https://au.linkedin.com/in/fuguowei"
target="_blank" style="font-family:Helvetica;font-
size:12px">LinkedIn</a></div></div></div></div></div>"
}
]
}
[
{
"Brand Name: Samsung",
"Product Quantity: 5",
"Product Description: 50 inch QLED 4K Smart T Vs"
}
]
Areas for improvement
● Optimise the flows and make them reusable
● Decouple offers and orders creation
● Handle exceptions
Questions?
Appendix
https://platform.openai.com/tokenizer
What is a token
Self-hosted Large Language Model
https://medium.com/geekculture/list-of-open-sourced-fine-tuned-large-language-models-llm-8d95a2e0dc76
Thank you

More Related Content

Similar to Brisbane MuleSoft Meetup #12 Integrate ChatGPT with MuleSoft to power business.pptx

Next-Generation Native Apps
Next-Generation Native AppsNext-Generation Native Apps
Next-Generation Native Appsdreamforce2006
 
SAP Cloud Platform Extension Suite Overview
SAP Cloud Platform Extension Suite OverviewSAP Cloud Platform Extension Suite Overview
SAP Cloud Platform Extension Suite OverviewSAP Cloud Platform
 
Achieve quick wins in your organization with Power Automate
Achieve quick wins in your organization with Power AutomateAchieve quick wins in your organization with Power Automate
Achieve quick wins in your organization with Power AutomateParas Dodhia
 
Advanced Integrations of MuleSoft with ChatGTP
Advanced Integrations of MuleSoft with ChatGTPAdvanced Integrations of MuleSoft with ChatGTP
Advanced Integrations of MuleSoft with ChatGTPNeerajKumar1965
 
Web Portal and Application Development Capability Document
Web Portal and Application Development Capability DocumentWeb Portal and Application Development Capability Document
Web Portal and Application Development Capability DocumentSigma Infosolutions, LLC
 
EBE 2020 How METRO & Ciklum built a new B2B marketplace
EBE 2020 How METRO & Ciklum built a new B2B marketplaceEBE 2020 How METRO & Ciklum built a new B2B marketplace
EBE 2020 How METRO & Ciklum built a new B2B marketplaceE-Commerce Berlin EXPO
 
Connect Your Clouds with Force.com
Connect Your Clouds with Force.comConnect Your Clouds with Force.com
Connect Your Clouds with Force.comJeff Douglas
 
Data-Driven AI - Service Catalogue
Data-Driven AI - Service CatalogueData-Driven AI - Service Catalogue
Data-Driven AI - Service CatalogueRodney Joyce
 
ElectroNeek Partner - AAPNA Infotech
ElectroNeek Partner - AAPNA InfotechElectroNeek Partner - AAPNA Infotech
ElectroNeek Partner - AAPNA InfotechAapna Infotech
 
MuleSoft London Community August 2019 - MuleSoft with Workday
MuleSoft London Community August 2019 - MuleSoft with Workday MuleSoft London Community August 2019 - MuleSoft with Workday
MuleSoft London Community August 2019 - MuleSoft with Workday Pace Integration
 
Jacksonville, FL Salesforce Administrator Community Group June 2020 Deck
Jacksonville, FL Salesforce Administrator Community Group June 2020 DeckJacksonville, FL Salesforce Administrator Community Group June 2020 Deck
Jacksonville, FL Salesforce Administrator Community Group June 2020 DeckMarc Lester
 
Azure Open Launch Results - Microsoft Singapore
Azure Open Launch Results - Microsoft SingaporeAzure Open Launch Results - Microsoft Singapore
Azure Open Launch Results - Microsoft SingaporeDavid Tang
 
PRAGYAN_ECommerce_Consultant (1)
PRAGYAN_ECommerce_Consultant (1)PRAGYAN_ECommerce_Consultant (1)
PRAGYAN_ECommerce_Consultant (1)pragyan panigrahi
 
Business process management case studies
Business process management case studiesBusiness process management case studies
Business process management case studiesSteven Bonacorsi
 
Dev Dives: Design user-friendly attended automations from A to Z
Dev Dives: Design user-friendly attended automations from A to ZDev Dives: Design user-friendly attended automations from A to Z
Dev Dives: Design user-friendly attended automations from A to ZCristina Vidu
 
Software Presentation A
Software Presentation ASoftware Presentation A
Software Presentation Ajoenilesh
 
Mulesoft Alfresco webinar
Mulesoft Alfresco webinarMulesoft Alfresco webinar
Mulesoft Alfresco webinarZia Consulting
 

Similar to Brisbane MuleSoft Meetup #12 Integrate ChatGPT with MuleSoft to power business.pptx (20)

Next-Generation Native Apps
Next-Generation Native AppsNext-Generation Native Apps
Next-Generation Native Apps
 
SAP Cloud Platform Extension Suite Overview
SAP Cloud Platform Extension Suite OverviewSAP Cloud Platform Extension Suite Overview
SAP Cloud Platform Extension Suite Overview
 
Achieve quick wins in your organization with Power Automate
Achieve quick wins in your organization with Power AutomateAchieve quick wins in your organization with Power Automate
Achieve quick wins in your organization with Power Automate
 
Advanced Integrations of MuleSoft with ChatGTP
Advanced Integrations of MuleSoft with ChatGTPAdvanced Integrations of MuleSoft with ChatGTP
Advanced Integrations of MuleSoft with ChatGTP
 
DEVCON-Social ECM
DEVCON-Social ECMDEVCON-Social ECM
DEVCON-Social ECM
 
Web Portal and Application Development Capability Document
Web Portal and Application Development Capability DocumentWeb Portal and Application Development Capability Document
Web Portal and Application Development Capability Document
 
EBE 2020 How METRO & Ciklum built a new B2B marketplace
EBE 2020 How METRO & Ciklum built a new B2B marketplaceEBE 2020 How METRO & Ciklum built a new B2B marketplace
EBE 2020 How METRO & Ciklum built a new B2B marketplace
 
Connect Your Clouds with Force.com
Connect Your Clouds with Force.comConnect Your Clouds with Force.com
Connect Your Clouds with Force.com
 
Data-Driven AI - Service Catalogue
Data-Driven AI - Service CatalogueData-Driven AI - Service Catalogue
Data-Driven AI - Service Catalogue
 
ElectroNeek Partner - AAPNA Infotech
ElectroNeek Partner - AAPNA InfotechElectroNeek Partner - AAPNA Infotech
ElectroNeek Partner - AAPNA Infotech
 
MuleSoft London Community August 2019 - MuleSoft with Workday
MuleSoft London Community August 2019 - MuleSoft with Workday MuleSoft London Community August 2019 - MuleSoft with Workday
MuleSoft London Community August 2019 - MuleSoft with Workday
 
Jacksonville, FL Salesforce Administrator Community Group June 2020 Deck
Jacksonville, FL Salesforce Administrator Community Group June 2020 DeckJacksonville, FL Salesforce Administrator Community Group June 2020 Deck
Jacksonville, FL Salesforce Administrator Community Group June 2020 Deck
 
Azure Open Launch Results - Microsoft Singapore
Azure Open Launch Results - Microsoft SingaporeAzure Open Launch Results - Microsoft Singapore
Azure Open Launch Results - Microsoft Singapore
 
Microsoft Power Platform.pptx
Microsoft Power Platform.pptxMicrosoft Power Platform.pptx
Microsoft Power Platform.pptx
 
PRAGYAN_ECommerce_Consultant (1)
PRAGYAN_ECommerce_Consultant (1)PRAGYAN_ECommerce_Consultant (1)
PRAGYAN_ECommerce_Consultant (1)
 
Business process management case studies
Business process management case studiesBusiness process management case studies
Business process management case studies
 
Dev Dives: Design user-friendly attended automations from A to Z
Dev Dives: Design user-friendly attended automations from A to ZDev Dives: Design user-friendly attended automations from A to Z
Dev Dives: Design user-friendly attended automations from A to Z
 
Visual Workflow Overview
Visual Workflow OverviewVisual Workflow Overview
Visual Workflow Overview
 
Software Presentation A
Software Presentation ASoftware Presentation A
Software Presentation A
 
Mulesoft Alfresco webinar
Mulesoft Alfresco webinarMulesoft Alfresco webinar
Mulesoft Alfresco webinar
 

Recently uploaded

Beyond Event Sourcing - Embracing CRUD for Wix Platform - Java.IL
Beyond Event Sourcing - Embracing CRUD for Wix Platform - Java.ILBeyond Event Sourcing - Embracing CRUD for Wix Platform - Java.IL
Beyond Event Sourcing - Embracing CRUD for Wix Platform - Java.ILNatan Silnitsky
 
How Does XfilesPro Ensure Security While Sharing Documents in Salesforce?
How Does XfilesPro Ensure Security While Sharing Documents in Salesforce?How Does XfilesPro Ensure Security While Sharing Documents in Salesforce?
How Does XfilesPro Ensure Security While Sharing Documents in Salesforce?XfilesPro
 
top nidhi software solution freedownload
top nidhi software solution freedownloadtop nidhi software solution freedownload
top nidhi software solution freedownloadvrstrong314
 
Prosigns: Transforming Business with Tailored Technology Solutions
Prosigns: Transforming Business with Tailored Technology SolutionsProsigns: Transforming Business with Tailored Technology Solutions
Prosigns: Transforming Business with Tailored Technology SolutionsProsigns
 
Agnieszka Andrzejewska - BIM School Course in Kraków
Agnieszka Andrzejewska - BIM School Course in KrakówAgnieszka Andrzejewska - BIM School Course in Kraków
Agnieszka Andrzejewska - BIM School Course in Krakówbim.edu.pl
 
Cyaniclab : Software Development Agency Portfolio.pdf
Cyaniclab : Software Development Agency Portfolio.pdfCyaniclab : Software Development Agency Portfolio.pdf
Cyaniclab : Software Development Agency Portfolio.pdfCyanic lab
 
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoamOpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoamtakuyayamamoto1800
 
GraphAware - Transforming policing with graph-based intelligence analysis
GraphAware - Transforming policing with graph-based intelligence analysisGraphAware - Transforming policing with graph-based intelligence analysis
GraphAware - Transforming policing with graph-based intelligence analysisNeo4j
 
A Python-based approach to data loading in TM1 - Using Airflow as an ETL for TM1
A Python-based approach to data loading in TM1 - Using Airflow as an ETL for TM1A Python-based approach to data loading in TM1 - Using Airflow as an ETL for TM1
A Python-based approach to data loading in TM1 - Using Airflow as an ETL for TM1KnowledgeSeed
 
Vitthal Shirke Microservices Resume Montevideo
Vitthal Shirke Microservices Resume MontevideoVitthal Shirke Microservices Resume Montevideo
Vitthal Shirke Microservices Resume MontevideoVitthal Shirke
 
Facemoji Keyboard released its 2023 State of Emoji report, outlining the most...
Facemoji Keyboard released its 2023 State of Emoji report, outlining the most...Facemoji Keyboard released its 2023 State of Emoji report, outlining the most...
Facemoji Keyboard released its 2023 State of Emoji report, outlining the most...rajkumar669520
 
Designing for Privacy in Amazon Web Services
Designing for Privacy in Amazon Web ServicesDesigning for Privacy in Amazon Web Services
Designing for Privacy in Amazon Web ServicesKrzysztofKkol1
 
AI/ML Infra Meetup | Perspective on Deep Learning Framework
AI/ML Infra Meetup | Perspective on Deep Learning FrameworkAI/ML Infra Meetup | Perspective on Deep Learning Framework
AI/ML Infra Meetup | Perspective on Deep Learning FrameworkAlluxio, Inc.
 
SOCRadar Research Team: Latest Activities of IntelBroker
SOCRadar Research Team: Latest Activities of IntelBrokerSOCRadar Research Team: Latest Activities of IntelBroker
SOCRadar Research Team: Latest Activities of IntelBrokerSOCRadar
 
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...Shahin Sheidaei
 
Breaking the Code : A Guide to WhatsApp Business API.pdf
Breaking the Code : A Guide to WhatsApp Business API.pdfBreaking the Code : A Guide to WhatsApp Business API.pdf
Breaking the Code : A Guide to WhatsApp Business API.pdfMeon Technology
 
Crafting the Perfect Measurement Sheet with PLM Integration
Crafting the Perfect Measurement Sheet with PLM IntegrationCrafting the Perfect Measurement Sheet with PLM Integration
Crafting the Perfect Measurement Sheet with PLM IntegrationWave PLM
 
Studiovity film pre-production and screenwriting software
Studiovity film pre-production and screenwriting softwareStudiovity film pre-production and screenwriting software
Studiovity film pre-production and screenwriting softwareinfo611746
 
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERRORTROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERRORTier1 app
 

Recently uploaded (20)

Beyond Event Sourcing - Embracing CRUD for Wix Platform - Java.IL
Beyond Event Sourcing - Embracing CRUD for Wix Platform - Java.ILBeyond Event Sourcing - Embracing CRUD for Wix Platform - Java.IL
Beyond Event Sourcing - Embracing CRUD for Wix Platform - Java.IL
 
How Does XfilesPro Ensure Security While Sharing Documents in Salesforce?
How Does XfilesPro Ensure Security While Sharing Documents in Salesforce?How Does XfilesPro Ensure Security While Sharing Documents in Salesforce?
How Does XfilesPro Ensure Security While Sharing Documents in Salesforce?
 
top nidhi software solution freedownload
top nidhi software solution freedownloadtop nidhi software solution freedownload
top nidhi software solution freedownload
 
Prosigns: Transforming Business with Tailored Technology Solutions
Prosigns: Transforming Business with Tailored Technology SolutionsProsigns: Transforming Business with Tailored Technology Solutions
Prosigns: Transforming Business with Tailored Technology Solutions
 
Agnieszka Andrzejewska - BIM School Course in Kraków
Agnieszka Andrzejewska - BIM School Course in KrakówAgnieszka Andrzejewska - BIM School Course in Kraków
Agnieszka Andrzejewska - BIM School Course in Kraków
 
Cyaniclab : Software Development Agency Portfolio.pdf
Cyaniclab : Software Development Agency Portfolio.pdfCyaniclab : Software Development Agency Portfolio.pdf
Cyaniclab : Software Development Agency Portfolio.pdf
 
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoamOpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
 
Corporate Management | Session 3 of 3 | Tendenci AMS
Corporate Management | Session 3 of 3 | Tendenci AMSCorporate Management | Session 3 of 3 | Tendenci AMS
Corporate Management | Session 3 of 3 | Tendenci AMS
 
GraphAware - Transforming policing with graph-based intelligence analysis
GraphAware - Transforming policing with graph-based intelligence analysisGraphAware - Transforming policing with graph-based intelligence analysis
GraphAware - Transforming policing with graph-based intelligence analysis
 
A Python-based approach to data loading in TM1 - Using Airflow as an ETL for TM1
A Python-based approach to data loading in TM1 - Using Airflow as an ETL for TM1A Python-based approach to data loading in TM1 - Using Airflow as an ETL for TM1
A Python-based approach to data loading in TM1 - Using Airflow as an ETL for TM1
 
Vitthal Shirke Microservices Resume Montevideo
Vitthal Shirke Microservices Resume MontevideoVitthal Shirke Microservices Resume Montevideo
Vitthal Shirke Microservices Resume Montevideo
 
Facemoji Keyboard released its 2023 State of Emoji report, outlining the most...
Facemoji Keyboard released its 2023 State of Emoji report, outlining the most...Facemoji Keyboard released its 2023 State of Emoji report, outlining the most...
Facemoji Keyboard released its 2023 State of Emoji report, outlining the most...
 
Designing for Privacy in Amazon Web Services
Designing for Privacy in Amazon Web ServicesDesigning for Privacy in Amazon Web Services
Designing for Privacy in Amazon Web Services
 
AI/ML Infra Meetup | Perspective on Deep Learning Framework
AI/ML Infra Meetup | Perspective on Deep Learning FrameworkAI/ML Infra Meetup | Perspective on Deep Learning Framework
AI/ML Infra Meetup | Perspective on Deep Learning Framework
 
SOCRadar Research Team: Latest Activities of IntelBroker
SOCRadar Research Team: Latest Activities of IntelBrokerSOCRadar Research Team: Latest Activities of IntelBroker
SOCRadar Research Team: Latest Activities of IntelBroker
 
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
 
Breaking the Code : A Guide to WhatsApp Business API.pdf
Breaking the Code : A Guide to WhatsApp Business API.pdfBreaking the Code : A Guide to WhatsApp Business API.pdf
Breaking the Code : A Guide to WhatsApp Business API.pdf
 
Crafting the Perfect Measurement Sheet with PLM Integration
Crafting the Perfect Measurement Sheet with PLM IntegrationCrafting the Perfect Measurement Sheet with PLM Integration
Crafting the Perfect Measurement Sheet with PLM Integration
 
Studiovity film pre-production and screenwriting software
Studiovity film pre-production and screenwriting softwareStudiovity film pre-production and screenwriting software
Studiovity film pre-production and screenwriting software
 
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERRORTROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
 

Brisbane MuleSoft Meetup #12 Integrate ChatGPT with MuleSoft to power business.pptx

  • 1. Wednesday June 21, 2023 Brisbane MuleSoft Meetup Group Integrate ChatGPT with MuleSoft to Power Business
  • 2. 2 ● 5:00 PM - Registration / Networking ● 5:15 PM - Introduction and announcements ● 5:30 PM - Integrate ChatGPT with MuleSoft to Power Business ● 6:15 PM - Wrap Up Agenda
  • 4. 4 MuleSoft released Anypoint API Experience Hub, a new solution that enables organizations to build developer portals for their API products. With API Experience Hub, API product managers can build personalized developer portals within minutes using an out-of-the-box template that help them productize, publish, and engage with APIs built across any technology or platform. Anypoint Experience Hub
  • 5. 5 24 — 28 July, 2023 | Gold Coast, Queensland, Australia CALLING ALL TRAILBLAZERS! Pack your bags for Trailblazer Bootcamp. With five days of expert-led learning, nine role-based tracks, two onsite certification exams, and endless networking opportunities, Trailblazer Bootcamp is the place to build expertise and accelerate your path to certification. Trailblazer Bootcamp Gold Coast
  • 6. 6 Introducing Anypoint Code Builder Open Beta Enhancements ● Open Beta availability on the EU control plane Allowing more developers to access ACB! ● Iterative API design and implementation introducing iterative API design and implementation to Anypoint Code Builder. This allows you to start designing your API specification and then hop directly into the implementation phase to start adding business logic before completing the design phase. ● Added UI support for Snippets Select connectors directly from Anypoint Exchange while adding Anypoint Code Builder Updates – June 2023
  • 7. Organizers, Sponsors, and Speakers Intorductions
  • 8. 8 Organizers Want to do a MuleSoft Meetup Talk? Reach out to our event organizers  Nicholas ip Senior Consultant at MuleSoft | MuleSoft Meetup Leader Ryan Andal MuleSoft Ambassador | Architect | TOGAF® 9 | AWS | Azure | Associate Manager - MuleSoft at Capgemini Brian Fraser MuleSoft Ambassador and Meetup Leader | Senior Integration Consultant and Manager at Capgemini Fuguo Wei Principal Integration Architect at Cloudwerx | MuleSoft Mentor | MuleSoft Meetup Leader
  • 9. 9 Sponsors Check out our Sponsors Capgemini Capgemini is a global consulting and technology services company that empowers businesses through comprehensive services, innovative solutions, and a strong focus on digital transformation, helping them thrive in the digital age. Cloudwerx Cloudwerx, founded in 2018 by industry experts, leverages cutting-edge technologies such as Salesforce, MuleSoft, and UiPath to empower your business with streamlined processes and high-power automations, enabling growth and the amplification of your team's human talents.
  • 10. 10 Speakers Want to know more about our speakers? Check them out. Fuguo Wei ● Principal Integration Architect at Cloudwerx ● MuleSoft Mentor ● MuleSoft Meetup Leader
  • 11. 21/June/2023 Integrate ChatGPT with MuleSoft to power businesses Fuguo Wei
  • 12. Fuguo Wei Principal Integration Architect MuleSoft Mentor & MuleSoft Meetup Leader https://au.linkedin.com/in/fuguowei fuguo.wei@cloudwerx.co
  • 13. 13 ● Problem Statements ● Solutions ● Demo ● Q & A Agenda
  • 14. I would like to thank my colleague Suraj Rohankar from Cloudwerx for providing me with the base implementation of this demo. Acknowledgement
  • 15. Ozi Electronics, an electronics distributor, faces significant challenges in their offer and order processing system. The current process relies heavily on manual intervention, as emails containing offers from vendors and orders from customers must be read and understood by humans. This manual approach not only limits scalability but also introduces the possibility of errors due to human oversight. These issues hinder Ozi Electronics' business growth and efficiency in the following ways: ● Lack of scalability: The manual nature of processing offers and orders prevents Ozi Electronics from efficiently handling a large volume of incoming emails. As the business grows, the current process becomes increasingly time-consuming and resource-intensive, limiting their ability to expand operations and cater to a broader customer base. ● Error-prone process: Reliance on human interpretation of emails makes the offer and order processing system susceptible to errors. Mistakes can occur during the manual extraction of relevant information, resulting in incorrect product details, pricing discrepancies, or even missed orders. Such errors can negatively impact customer satisfaction, trust, and ultimately the company's reputation. ● Inefficient matching of offers and orders: Matching incoming customer orders with the available offers from vendors is a time-consuming and error-prone task. Human involvement in the process increases the likelihood of missing out on potential cost savings or overlooking suitable product options that could meet customer requirements. This leads to missed sales opportunities and dissatisfied customers. Therefore, Ozi Electronics needs an automated solution that can streamline their offer and order processing workflow, reduce manual intervention, improve scalability, and minimize the occurrence of errors. This solution should efficiently analyse incoming emails, extract relevant information, store offers and orders, match offers with customer orders accurately, and generate invoices with the correct product details and pricing. By addressing these challenges, Ozi Electronics can enhance operational efficiency, scale their business effectively, and provide a better customer experience. Problem Statements
  • 16. Offers & Orders Processing Customers Extract offers and record them manually Check Orders email inbox Extract orders and record them manually Check Offers email inbox Reply To Customer Vendors Free text email orders Ozi Electronics Sales Team Free text email offers Match orders with offers and find the best deal Challenges Not scalable impeding business growth Increased time and cost to complete task Human errors that can cause downstream impacts Staff dissatisfaction from unstimulating and repetitive tasks Inefficient orders & orders matching leading to missed sales and unhappy customers
  • 17. Automated Orders & Offers Processing New Offers/Orders Email Read email and transform the content Call ChatGPT 3.5 Completion API for interpretation ChatGPT Analyse texts using models based on prompts Return analysis results Construct prompts Verify the results Good Quality? Yes Salesforce Create Offers/Orders Call SF APIs to create Offers/Orders Call SF APIs to create a case and a junk object Order fulfilment to find the best deal Create a case/junk object Send Slack notification to Sales Team No
  • 18. Why MuleSoft? System Integration Mule Anypoint Enterprise Applications Not only due to MuleSoft’s powerful api and data transformation capabilities, it acts as the backbone of the integration, seamlessly connecting various enterprise systems, databases, and applications involved in the offers/orders processing workflow.
  • 19. Why ChatGPT? ChatGPT is an AI language model developed by OpenAI in 2022 based on the GPT (Generative Pre-trained Transformer) series of models. These models have been trained on a large amount of data. ● Transformer models use neural network architecture ● Transformers are particularly effective for natural language processing tasks because they can capture the contextual relationships between words and generate coherent and contextually relevant responses. ● Can fine-tune (i.e. customise) a model or specific tasks using supervised learning or reinforcement learning techniques to improve its performance on particular applications source: https://www.scalablepath.com/data-science/chatgpt-architecture-explained https://platform.openai.com/docs/guides/fine-tuning
  • 20. ChatGPT APIs Creates a model response for the given chat conversation. https://api.openai.com/v1/chat/completions curl https://api.openai.com/v1/chat/completions -H "Content-Type: application/json" -H "Authorization: Bearer $OPENAI_API_KEY" -d '{ "model": "gpt-3.5-turbo", "temperature": 0, "messages": [{"role": "user", "content": "Hello!"}] }' Source: https://platform.openai.com/docs/api-reference/chat/create { "id": "chatcmpl-7TVOfuTOsjXV8ERgJcFZIT4gAxlX5", "object": "chat.completion", "created": 1687266557, "model": "gpt-3.5-turbo-0301", "usage": { "prompt_tokens": 10, "completion_tokens": 10, "total_tokens": 20 }, "choices": [ { "message": { "role": "assistant", "content": "Hello there! How can I assist you today?" }, "finish_reason": "stop", "index": 0 } ] }
  • 21. Sample Offers Original Offers Transformed inputs Transformed ChatGPT responses { "model": "gpt-3.5-turbo", "temperature": 0, "messages": [ { "role": "user", "content": "can you find out the details in following offers individually for each brand name, Product Quantity and Price from following messageHello James,rnrnrnLenovo ThinkPad X1 Nano G1 -20UN000HAU- Intel i5- 1135G7 / 16GB 4266MHz /rn512GB SSD / 13" 2K / 4G LTE / W10P / 3-3-3, Quantity 100, $3,378.00rnrnLenovo ThinkPad USB-C Dock - 2x DP, 1x VGA, 3x USB 3.0, 2 x USB 2.0, 1xrnUSB-C, 1x Gigabit Ethernet, 1x Stereo/Mic Combo Port, qty 50, $349.00rnrnrnFujitsu Lifebook E5413, i5-1345U, 16GB (2x8GB), 256GB SSD, 14.0" FHD Touch,rnHELLO Cam, LTE Ready (no module incl), W11P, 3YR NBD Onsitern100rn$2,836.00rnrnrnOKI C834nw A3 Colour LED Laser Printerrn50rn$1,319.00rnrnSamsung 50" The Frame QLED 4K Smart TV, 20, $3,499.00rnrnKind regards,rnFuguo WeirnPh: 0491726896rnCustomer Manager | Fuguo Autornfuguoelectronics.co <http://fuguoauto.co/> | LinkedInrn<https://au.linkedin.com/in/fuguowei>rnn<div dir="ltr"><div>Hello James,<br></div><div><br></div><div><br></div><div>Lenovo ThinkPad X1 Nano G1 -20UN000HAU- Intel i5-1135G7 / 16GB 4266MHz / 512GB SSD / 13&quot; 2K / 4G LTE / W10P / 3-3-3, Quantity 100, $3,378.00</div><div><br>Lenovo ThinkPad USB-C Dock - 2x DP, 1x VGA, 3x USB 3.0, 2 x USB 2.0, 1x USB-C, 1x Gigabit Ethernet, 1x Stereo/Mic Combo Port, qty 50, $349.00<br></div><div><br></div><div><br>Fujitsu Lifebook E5413, i5-1345U, 16GB (2x8GB), 256GB SSD, 14.0&quot; FHD Touch, HELLO Cam, LTE Ready (no module incl), W11P, 3YR NBD Onsite<br></div><div>100</div><div>$2,836.00<br></div><div><br></div><div ><br>OKI C834nw A3 Colour LED Laser Printer<br></div><div>50</div><div>$1,319.00<br></div><div><br></div><div> Samsung 50&quot; The Frame QLED 4K Smart TV, 20, $3,499.00</div><div><br></div><div><div style="font-size:26px;font- weight:700;box-sizing:border-box"><font size="2">Kind regards,</font></div><div style="font-family:Helvetica;font- size:12px;color:rgb(0,0,0)">Fuguo Wei<br>Ph: 0491726896<br>Customer Manager | Fuguo Auto<br><a href="http://fuguoauto.co/" target="_blank">fuguoelectronics.co</a> | <a href="https://au.linkedin.com/in/fuguowei" target="_blank">LinkedIn</a></div></div></div>" } ] } [ { "BrandName": "Lenovo", "Product": "ThinkPad X1 Nano G1", "Quantity": "100", "Price": "$3,378.00" }, { "BrandName": "Lenovo", "Product": "ThinkPad USB-C Dock", "Quantity": "50", "Price": "$349.00" }, { "BrandName": "Fujitsu", "Product": "Lifebook E5413", "Quantity": "100", "Price": "$2,836.00" }, { "BrandName": "OKI", "Product": "C834nw A3 Colour LED Laser Printer", "Quantity": "50", "Price": "$1,319.00" }, { "BrandName": "Samsung", "Product": "The Frame QLED 4K Smart TV", "Quantity": "20", "Price": "$3,499.00" } ]
  • 22. Sample Orders Original Order Transformed texts ChatGPT responses { "model": "gpt-3.5-turbo", "temperature": 0, "messages": [ { "role": "user", "content": "can you find out the details in following orders individually for each brand name, Product Quantity from following messageHello Ozi Electronics team,rnrnCan I get 5 Sumsungrnrn50 inch QLED 4K Smart T Vs?rnrnCheers,rnJohn CitizenrnPh: 0429829334rnProcurement Manager | Goodmates.com.au <http://goodmates.com.au/>rngoodmates.com.au <http://fuguoauto.co/> | LinkedInrn<https://au.linkedin.com/in/fuguowei>rnn<div dir="ltr"><div dir="ltr" class="gmail_attr" style="color:rgb(80,0,80)">Hello Ozi Electronics team,<br></div><div dir="ltr" style="color:rgb(80,0,80)"><div><br></div><div>Can I get 5 Sumsung </div><div><div><div><br></div><div>50 inch QLED 4K Smart T Vs?</div><div><br></div><div>Cheers,</div><div><span style="font-family:Helvetica;font-size:12px">John Citizen</span></div><div><span style="font-family:Helvetica;font- size:12px">Ph: 0429829334<br>Procurement Manager | <a href="http://goodmates.com.au/" target="_blank">Goodmates.com.au</a></span></div><div><a href="http://fuguoauto.co/" target="_blank" style="font- family:Helvetica;font-size:12px">goodmates.com.au</a><span style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px"> | </span><a href="https://au.linkedin.com/in/fuguowei" target="_blank" style="font-family:Helvetica;font- size:12px">LinkedIn</a></div></div></div></div></div>" } ] } [ { "Brand Name: Samsung", "Product Quantity: 5", "Product Description: 50 inch QLED 4K Smart T Vs" } ]
  • 23. Areas for improvement ● Optimise the flows and make them reusable ● Decouple offers and orders creation ● Handle exceptions
  • 27. Self-hosted Large Language Model https://medium.com/geekculture/list-of-open-sourced-fine-tuned-large-language-models-llm-8d95a2e0dc76