SlideShare a Scribd company logo
1 of 28
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

What are the features of Vehicle Tracking System?
What are the features of Vehicle Tracking System?What are the features of Vehicle Tracking System?
What are the features of Vehicle Tracking System?Watsoo Telematics
 
chapter--4-software-project-planning.ppt
chapter--4-software-project-planning.pptchapter--4-software-project-planning.ppt
chapter--4-software-project-planning.pptkotipi9215
 
Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...OnePlan Solutions
 
Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024Andreas Granig
 
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...gurkirankumar98700
 
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEBATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEOrtus Solutions, Corp
 
Salesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantSalesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantAxelRicardoTrocheRiq
 
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxKnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxTier1 app
 
Engage Usergroup 2024 - The Good The Bad_The Ugly
Engage Usergroup 2024 - The Good The Bad_The UglyEngage Usergroup 2024 - The Good The Bad_The Ugly
Engage Usergroup 2024 - The Good The Bad_The UglyFrank van der Linden
 
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...Christina Lin
 
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)OPEN KNOWLEDGE GmbH
 
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样umasea
 
buds n tech IT solutions
buds n  tech IT                solutionsbuds n  tech IT                solutions
buds n tech IT solutionsmonugehlot87
 
EY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityEY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityNeo4j
 
The Evolution of Karaoke From Analog to App.pdf
The Evolution of Karaoke From Analog to App.pdfThe Evolution of Karaoke From Analog to App.pdf
The Evolution of Karaoke From Analog to App.pdfPower Karaoke
 
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...stazi3110
 
Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...aditisharan08
 
XpertSolvers: Your Partner in Building Innovative Software Solutions
XpertSolvers: Your Partner in Building Innovative Software SolutionsXpertSolvers: Your Partner in Building Innovative Software Solutions
XpertSolvers: Your Partner in Building Innovative Software SolutionsMehedi Hasan Shohan
 
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...MyIntelliSource, Inc.
 

Recently uploaded (20)

What are the features of Vehicle Tracking System?
What are the features of Vehicle Tracking System?What are the features of Vehicle Tracking System?
What are the features of Vehicle Tracking System?
 
chapter--4-software-project-planning.ppt
chapter--4-software-project-planning.pptchapter--4-software-project-planning.ppt
chapter--4-software-project-planning.ppt
 
Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...
 
Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024
 
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
 
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEBATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
 
Salesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantSalesforce Certified Field Service Consultant
Salesforce Certified Field Service Consultant
 
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxKnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
 
Engage Usergroup 2024 - The Good The Bad_The Ugly
Engage Usergroup 2024 - The Good The Bad_The UglyEngage Usergroup 2024 - The Good The Bad_The Ugly
Engage Usergroup 2024 - The Good The Bad_The Ugly
 
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
 
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)
 
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
 
buds n tech IT solutions
buds n  tech IT                solutionsbuds n  tech IT                solutions
buds n tech IT solutions
 
EY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityEY_Graph Database Powered Sustainability
EY_Graph Database Powered Sustainability
 
The Evolution of Karaoke From Analog to App.pdf
The Evolution of Karaoke From Analog to App.pdfThe Evolution of Karaoke From Analog to App.pdf
The Evolution of Karaoke From Analog to App.pdf
 
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
 
Call Girls In Mukherjee Nagar 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
Call Girls In Mukherjee Nagar 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...Call Girls In Mukherjee Nagar 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
Call Girls In Mukherjee Nagar 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
 
Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...
 
XpertSolvers: Your Partner in Building Innovative Software Solutions
XpertSolvers: Your Partner in Building Innovative Software SolutionsXpertSolvers: Your Partner in Building Innovative Software Solutions
XpertSolvers: Your Partner in Building Innovative Software Solutions
 
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
 

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