SlideShare une entreprise Scribd logo
1  sur  25
1
March 25, 2023, 11:00 IST
Mysore MuleSoft Meetup
MuleSoft Integration with ChatGPT –
part1
3
MuleSoft Community Awards
4
MuleSoft Ambassadors
Giridhar Meka Shubham Chaurasia
Safe Harbour Statement
● Both the speaker and the host are organizing this meet-up in individual capacity only. We are
not representing our companies here.
● This presentation is strictly for learning purposes only. Organizer/Presenter do not hold any
responsibility that same solution will work for your business requirements.
● This presentation is not meant for any promotional activities.
5
A recording of this meetup will be uploaded to events page within 24 hours.
Questions can be submitted/asked at any time in the Chat/Questions & Answers Tab.
Make it more Interactive!!!
Give us feedback! Rate this meetup session by filling feedback form at the end of the day.
We Love Feedbacks!!! Its Bread & Butter for Meetup.
Housekeeping
6
Introduction
● About the Organizers
7
Shubham Chaurasia
Billennium India
Pro Integration Developer
A SHOW OF HANDS:
Who is new to this Meetup?
Giridhar Meka
Sr. Technical Architect
linkedin.com/in/giridharmeka
linkedin.com/in/shubhamchaurasia1
●About the Speaker :
Introductions
Shubham Chaurasia
MuleSoft Ambassador
Professional Integration Developer
Billennium India
2.5+ years of Experience in Integrations
MCD L1, MCD L2, MCPA, MCIA Certified (5x Mule)
Salesforce, AWS, GCP, Azure, Workato Certified
Mulesoft Meetup Leader | Mentor | Blogger | Speaker
AWS Community Builder
Gamer By Heart | Loves to Compete
https://www.linkedin.com/in/shubhamchaurasia1/
https://medium.com/@myid535
8
Agenda
● Introductions
○ What is ChatGPT?
○ Using OpenAI ChatGPT
○ Introduction to ChatGPT API
○ MuleSoft Integration with ChatGPT
● Demo
● Q & A
9
ChatGPT
ChatGPT
11
● ChatGPT is a state-of-the-art natural language processing (NLP) model developed
by OpenAI.
● It is a variant of the popular GPT-3 (Generative Pre-trained Transformer 3) model,
which has been trained on a massive amount of text data to generate human-like
responses to a given input.
● ChatGPT is its ability to generate responses that are consistent with the context of
the conversation
● ChatGPT is also capable of performing a range of other NLP tasks, such as
language translation, text summarisation, and sentiment analysis
● Unlike traditional NLP models that rely on hand-crafted rules and manually labeled
data, ChatGPT uses a neural network architecture and unsupervised learning to
generate responses
What is ChatGPT
ChatGPT vs ChatGPT Plus
● ChatGPT Plus had a
Turbo mode that was
faster than the one
we have in the free
plan
● Access to GPT-4
12
● Training Data: ChatGPT is trained on a large corpus of text data, while ChatGPT+ is
trained on an even larger and more diverse dataset, including more languages and
more varied types of text.
● Model Size: ChatGPT+ has a larger model size, meaning it has more parameters and
can capture more complex relationships between words and concepts.
● Training Techniques: ChatGPT+ uses more advanced training techniques, such as
curriculum learning and mixup, to further improve its performance.
ChatGPT 3.5 vs ChatGPT 4
● It defines parameters as “the parts of a large language model that define its skill
on a problem such as generating text.” It’s essentially what the model learns.
GPT-1 had 117 million parameters to work with, GPT-2 had 1.5 billion, and GPT-
3(Opens in a new window) arrived in February of 2021 with 175 billion
parameters. By the time ChatGPT was released to the public in November 2022,
the tech had reached version 3.5
● GPT-3.5 is a text-to-text model, GPT-4 is more of a data-to-text model
● GPT-4 has a longer memory than previous versions The more you chat with a bot
powered by GPT-3.5, the less likely it will be able to keep up, after a certain point
(of around 8,000 words). GPT-4’s short-term memory is closer to 64,000 words.
GPT-4 can even pull text from web pages when you share a URL in the prompt.
● GPT-4 accepts images as part of a prompt. It can even explain why memes are
funny.
13
Limitations of ChatGPT
● It is a large and complex model, which makes it resource-intensive to run
● It is a generative model, which means that it is not always able to provide accurate
answers to specific questions
● Like all NLP models, is limited by the quality and quantity of the data it has been
trained on
● The model is not yet able to ask clarifying questions when user input is ambiguous
and instead tries to guess user intent
● Its resource-intensive nature and potential for irrelevant or nonsensical responses
make it less than ideal for certain applications
14
Use OpenAI ChatGPT
OpenAI ChatGPT
16
Introduction to
ChatGPT API
ChatGPT API
● Completions:- Given a prompt, the model will return one or more predicted
completions, and can also return the probabilities of alternative tokens at each
position.
● Models:- List and describe the various models available in the API. Understand what
models are available and the differences between them
● Chat:- Given a chat conversation, the model will return a chat completion response.
● Images:- Given a prompt and/or an input image, the model will generate a new image.
● Audio:- Learn how to turn audio into text
● The OpenAI API uses API keys for authentication. Check API Keys page to retrieve
the API key you'll use in your requests.
● The API is priced at $0.002 per 1K tokens. You have free credit to use, though
18
MuleSoft Integration
with ChatGPT API
ChatGPT API Messages
● Messages must be an array of message objects, where each object has a role (either
"system", "user", or "assistant") and content (the content of the message).
Conversations can be as short as 1 message or fill many pages.
● Typically, a conversation is formatted with a system message first, followed by
alternating user and assistant messages.
● The system message helps set the behavior of the assistant.
● messages=[
● {"role": "system", "content": "You are a helpful assistant."},
● {"role": "user", "content": "Who won the world series in 2020?"},
● {"role": "assistant", "content": "The Los Angeles Dodgers won the World Series in
2020."},
● {"role": "user", "content": "Where was it played?"}
● ]
20
Demo
Q&A
Take a stand !
● Nominate yourself for the next meetup speaker. Reach Out
23
● Share:
○ Tweet using the hashtag #MuleSoftMeetups
○ Join Mysore Group: https://meetups.mulesoft.com/mysore/
● Feedback:
○ Fill out the survey feedback and suggest topics for upcoming events
○ Contact MuleSoft at meetups@mulesoft.com for ways to improve the program
○ Reach out to Mysore Meetup Leaders (Shubham/Giridhar) to suggest topics
for next Meetup
What’s next?
24
Thank you

Contenu connexe

Similaire à MuleSoft Integration with ChatGPT — Part 1 | MuleSoft Mysore Meetup #27

ChatGPT- E-Learning.pdf
ChatGPT- E-Learning.pdfChatGPT- E-Learning.pdf
ChatGPT- E-Learning.pdf
Maddy Baig
 
ChatGpt.pptx
ChatGpt.pptxChatGpt.pptx
ChatGpt.pptx
Jahanvi B
 
ChatGPT
ChatGPTChatGPT
ChatGPT: Revolutionizing Business Interactions
ChatGPT: Revolutionizing Business InteractionsChatGPT: Revolutionizing Business Interactions
ChatGPT: Revolutionizing Business Interactions
Operational Excellence Consulting
 

Similaire à MuleSoft Integration with ChatGPT — Part 1 | MuleSoft Mysore Meetup #27 (20)

PPt on Chat GPT New users.pptx
PPt on Chat GPT New users.pptxPPt on Chat GPT New users.pptx
PPt on Chat GPT New users.pptx
 
chatGPT.pptx
chatGPT.pptxchatGPT.pptx
chatGPT.pptx
 
ChatGPT- E-Learning.pdf
ChatGPT- E-Learning.pdfChatGPT- E-Learning.pdf
ChatGPT- E-Learning.pdf
 
What is Chatgpt Complete Guide
What is Chatgpt Complete GuideWhat is Chatgpt Complete Guide
What is Chatgpt Complete Guide
 
How to Integrate Chatgpt with Odoo 17 Website
How to Integrate Chatgpt with Odoo 17 WebsiteHow to Integrate Chatgpt with Odoo 17 Website
How to Integrate Chatgpt with Odoo 17 Website
 
How to Build an App with ChatGPT.pdf
How to Build an App with ChatGPT.pdfHow to Build an App with ChatGPT.pdf
How to Build an App with ChatGPT.pdf
 
Advanced Integrations of MuleSoft with ChatGTP
Advanced Integrations of MuleSoft with ChatGTPAdvanced Integrations of MuleSoft with ChatGTP
Advanced Integrations of MuleSoft with ChatGTP
 
ChatGPT – What’s The Hype All About
 ChatGPT – What’s The Hype All About ChatGPT – What’s The Hype All About
ChatGPT – What’s The Hype All About
 
ChatGpt.pptx
ChatGpt.pptxChatGpt.pptx
ChatGpt.pptx
 
What Is Chat GPT And How Does It Work For Your Business.pdf
What Is Chat GPT And How Does It Work For Your Business.pdfWhat Is Chat GPT And How Does It Work For Your Business.pdf
What Is Chat GPT And How Does It Work For Your Business.pdf
 
ChatGPT
ChatGPTChatGPT
ChatGPT
 
ChatGPT: Revolutionizing Business Interactions
ChatGPT: Revolutionizing Business InteractionsChatGPT: Revolutionizing Business Interactions
ChatGPT: Revolutionizing Business Interactions
 
Everything to know about ChatGPT
Everything to know about ChatGPTEverything to know about ChatGPT
Everything to know about ChatGPT
 
Introduction to ChatGPT & how its implemented in UiPath
Introduction to ChatGPT & how its implemented in UiPathIntroduction to ChatGPT & how its implemented in UiPath
Introduction to ChatGPT & how its implemented in UiPath
 
Introduction to Chat GPT
Introduction to Chat GPTIntroduction to Chat GPT
Introduction to Chat GPT
 
ChatGPT SEO Guide 2023
ChatGPT SEO Guide 2023ChatGPT SEO Guide 2023
ChatGPT SEO Guide 2023
 
Benefit of ChatGPT.pdf
Benefit of ChatGPT.pdfBenefit of ChatGPT.pdf
Benefit of ChatGPT.pdf
 
Deep dive into ChatGPT
Deep dive into ChatGPTDeep dive into ChatGPT
Deep dive into ChatGPT
 
An Introduction To Using ChatGPT For Business
An Introduction To Using ChatGPT For BusinessAn Introduction To Using ChatGPT For Business
An Introduction To Using ChatGPT For Business
 
ChatGPT … How Does it Flow?, Mark Jones
ChatGPT … How Does it Flow?, Mark JonesChatGPT … How Does it Flow?, Mark Jones
ChatGPT … How Does it Flow?, Mark Jones
 

Plus de MysoreMuleSoftMeetup

MuleSoft Integration with AWS Textract | Calling AWS Textract API |AWS - Clou...
MuleSoft Integration with AWS Textract | Calling AWS Textract API |AWS - Clou...MuleSoft Integration with AWS Textract | Calling AWS Textract API |AWS - Clou...
MuleSoft Integration with AWS Textract | Calling AWS Textract API |AWS - Clou...
MysoreMuleSoftMeetup
 
Payment Integration using Braintree Connector | MuleSoft Mysore Meetup #37
Payment Integration using Braintree Connector | MuleSoft Mysore Meetup #37Payment Integration using Braintree Connector | MuleSoft Mysore Meetup #37
Payment Integration using Braintree Connector | MuleSoft Mysore Meetup #37
MysoreMuleSoftMeetup
 

Plus de MysoreMuleSoftMeetup (20)

MuleSoft Integration with AWS Textract | Calling AWS Textract API |AWS - Clou...
MuleSoft Integration with AWS Textract | Calling AWS Textract API |AWS - Clou...MuleSoft Integration with AWS Textract | Calling AWS Textract API |AWS - Clou...
MuleSoft Integration with AWS Textract | Calling AWS Textract API |AWS - Clou...
 
MuleSoft Integration with AWS Lambda [Serverless Function] | MuleSoft Mysore ...
MuleSoft Integration with AWS Lambda [Serverless Function] | MuleSoft Mysore ...MuleSoft Integration with AWS Lambda [Serverless Function] | MuleSoft Mysore ...
MuleSoft Integration with AWS Lambda [Serverless Function] | MuleSoft Mysore ...
 
Munits in Mule 4 [Deep-Dive] | MuleSoft Mysore Meetup #40
Munits in Mule 4 [Deep-Dive] | MuleSoft Mysore Meetup #40Munits in Mule 4 [Deep-Dive] | MuleSoft Mysore Meetup #40
Munits in Mule 4 [Deep-Dive] | MuleSoft Mysore Meetup #40
 
Unlocking Seamless End-to-End Automation with the MuleSoft Automation Suite |...
Unlocking Seamless End-to-End Automation with the MuleSoft Automation Suite |...Unlocking Seamless End-to-End Automation with the MuleSoft Automation Suite |...
Unlocking Seamless End-to-End Automation with the MuleSoft Automation Suite |...
 
State Management in Mule applications | MuleSoft Mysore Meetup #42
State Management in Mule applications |  MuleSoft Mysore Meetup #42State Management in Mule applications |  MuleSoft Mysore Meetup #42
State Management in Mule applications | MuleSoft Mysore Meetup #42
 
Anypoint Code Builder (ACB) + AI + Hands-On | MuleSoft Mysore Meetup #41
Anypoint Code Builder (ACB) + AI + Hands-On |  MuleSoft Mysore Meetup #41Anypoint Code Builder (ACB) + AI + Hands-On |  MuleSoft Mysore Meetup #41
Anypoint Code Builder (ACB) + AI + Hands-On | MuleSoft Mysore Meetup #41
 
Transaction Management in Mule 4 | MuleSoft Mysore Meetup #39
Transaction Management in Mule 4 |  MuleSoft Mysore Meetup #39Transaction Management in Mule 4 |  MuleSoft Mysore Meetup #39
Transaction Management in Mule 4 | MuleSoft Mysore Meetup #39
 
Exploring the realms of MuleSoft RPA | MuleSoft Mysore Meetup #38
Exploring the realms of MuleSoft RPA | MuleSoft Mysore Meetup #38Exploring the realms of MuleSoft RPA | MuleSoft Mysore Meetup #38
Exploring the realms of MuleSoft RPA | MuleSoft Mysore Meetup #38
 
Payment Integration using Braintree Connector | MuleSoft Mysore Meetup #37
Payment Integration using Braintree Connector | MuleSoft Mysore Meetup #37Payment Integration using Braintree Connector | MuleSoft Mysore Meetup #37
Payment Integration using Braintree Connector | MuleSoft Mysore Meetup #37
 
Azure DevOps Pipeline setup for Mule APIs #36
Azure DevOps Pipeline setup for Mule APIs #36Azure DevOps Pipeline setup for Mule APIs #36
Azure DevOps Pipeline setup for Mule APIs #36
 
Mastering the Puzzle Integration Patterns Decoded | MuleSoft Mysore Meetup #35
Mastering the Puzzle Integration Patterns Decoded | MuleSoft Mysore Meetup #35Mastering the Puzzle Integration Patterns Decoded | MuleSoft Mysore Meetup #35
Mastering the Puzzle Integration Patterns Decoded | MuleSoft Mysore Meetup #35
 
Discovering Seamless Integration: MuleSoft, AWS and Snowflake | MuleSoft Myso...
Discovering Seamless Integration: MuleSoft, AWS and Snowflake | MuleSoft Myso...Discovering Seamless Integration: MuleSoft, AWS and Snowflake | MuleSoft Myso...
Discovering Seamless Integration: MuleSoft, AWS and Snowflake | MuleSoft Myso...
 
Application Design Thinking wrt Integration Architecture - Part II | MuleSoft...
Application Design Thinking wrt Integration Architecture - Part II | MuleSoft...Application Design Thinking wrt Integration Architecture - Part II | MuleSoft...
Application Design Thinking wrt Integration Architecture - Part II | MuleSoft...
 
HL7 Integration using Mulesoft | MuleSoft Mysore Meetp #32
HL7 Integration using Mulesoft | MuleSoft Mysore Meetp #32HL7 Integration using Mulesoft | MuleSoft Mysore Meetp #32
HL7 Integration using Mulesoft | MuleSoft Mysore Meetp #32
 
Application Design Thinking wrt Integration Architecture - Part I | MuleSoft ...
Application Design Thinking wrt Integration Architecture - Part I | MuleSoft ...Application Design Thinking wrt Integration Architecture - Part I | MuleSoft ...
Application Design Thinking wrt Integration Architecture - Part I | MuleSoft ...
 
Slack and ChatGPT Integration using MuleSoft | MuleSoft Mysore Meetup #30
Slack and ChatGPT Integration using MuleSoft | MuleSoft Mysore Meetup #30Slack and ChatGPT Integration using MuleSoft | MuleSoft Mysore Meetup #30
Slack and ChatGPT Integration using MuleSoft | MuleSoft Mysore Meetup #30
 
Platform configuration on CloudHub 2.0 | MuleSoft Mysore Meetup #29
Platform configuration on CloudHub 2.0 | MuleSoft Mysore Meetup #29Platform configuration on CloudHub 2.0 | MuleSoft Mysore Meetup #29
Platform configuration on CloudHub 2.0 | MuleSoft Mysore Meetup #29
 
Handling NFRs for the API through API policies (Custom Policies) -Part 2 | Mu...
Handling NFRs for the API through API policies (Custom Policies) -Part 2 | Mu...Handling NFRs for the API through API policies (Custom Policies) -Part 2 | Mu...
Handling NFRs for the API through API policies (Custom Policies) -Part 2 | Mu...
 
Handling NFRs for the API through OoTB API policies Part-1 | MuleSoft Mysore ...
Handling NFRs for the API through OoTB API policies Part-1 | MuleSoft Mysore ...Handling NFRs for the API through OoTB API policies Part-1 | MuleSoft Mysore ...
Handling NFRs for the API through OoTB API policies Part-1 | MuleSoft Mysore ...
 
Maven Archetypes - Learn about importance of Maven Archetypes in MuleSoft | M...
Maven Archetypes - Learn about importance of Maven Archetypes in MuleSoft | M...Maven Archetypes - Learn about importance of Maven Archetypes in MuleSoft | M...
Maven Archetypes - Learn about importance of Maven Archetypes in MuleSoft | M...
 

Dernier

Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
ciinovamais
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
kauryashika82
 

Dernier (20)

Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
 
Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptx
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docx
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...
 

MuleSoft Integration with ChatGPT — Part 1 | MuleSoft Mysore Meetup #27

  • 1. 1
  • 2. March 25, 2023, 11:00 IST Mysore MuleSoft Meetup MuleSoft Integration with ChatGPT – part1
  • 5. Safe Harbour Statement ● Both the speaker and the host are organizing this meet-up in individual capacity only. We are not representing our companies here. ● This presentation is strictly for learning purposes only. Organizer/Presenter do not hold any responsibility that same solution will work for your business requirements. ● This presentation is not meant for any promotional activities. 5
  • 6. A recording of this meetup will be uploaded to events page within 24 hours. Questions can be submitted/asked at any time in the Chat/Questions & Answers Tab. Make it more Interactive!!! Give us feedback! Rate this meetup session by filling feedback form at the end of the day. We Love Feedbacks!!! Its Bread & Butter for Meetup. Housekeeping 6
  • 7. Introduction ● About the Organizers 7 Shubham Chaurasia Billennium India Pro Integration Developer A SHOW OF HANDS: Who is new to this Meetup? Giridhar Meka Sr. Technical Architect linkedin.com/in/giridharmeka linkedin.com/in/shubhamchaurasia1
  • 8. ●About the Speaker : Introductions Shubham Chaurasia MuleSoft Ambassador Professional Integration Developer Billennium India 2.5+ years of Experience in Integrations MCD L1, MCD L2, MCPA, MCIA Certified (5x Mule) Salesforce, AWS, GCP, Azure, Workato Certified Mulesoft Meetup Leader | Mentor | Blogger | Speaker AWS Community Builder Gamer By Heart | Loves to Compete https://www.linkedin.com/in/shubhamchaurasia1/ https://medium.com/@myid535 8
  • 9. Agenda ● Introductions ○ What is ChatGPT? ○ Using OpenAI ChatGPT ○ Introduction to ChatGPT API ○ MuleSoft Integration with ChatGPT ● Demo ● Q & A 9 ChatGPT
  • 11. 11 ● ChatGPT is a state-of-the-art natural language processing (NLP) model developed by OpenAI. ● It is a variant of the popular GPT-3 (Generative Pre-trained Transformer 3) model, which has been trained on a massive amount of text data to generate human-like responses to a given input. ● ChatGPT is its ability to generate responses that are consistent with the context of the conversation ● ChatGPT is also capable of performing a range of other NLP tasks, such as language translation, text summarisation, and sentiment analysis ● Unlike traditional NLP models that rely on hand-crafted rules and manually labeled data, ChatGPT uses a neural network architecture and unsupervised learning to generate responses What is ChatGPT
  • 12. ChatGPT vs ChatGPT Plus ● ChatGPT Plus had a Turbo mode that was faster than the one we have in the free plan ● Access to GPT-4 12 ● Training Data: ChatGPT is trained on a large corpus of text data, while ChatGPT+ is trained on an even larger and more diverse dataset, including more languages and more varied types of text. ● Model Size: ChatGPT+ has a larger model size, meaning it has more parameters and can capture more complex relationships between words and concepts. ● Training Techniques: ChatGPT+ uses more advanced training techniques, such as curriculum learning and mixup, to further improve its performance.
  • 13. ChatGPT 3.5 vs ChatGPT 4 ● It defines parameters as “the parts of a large language model that define its skill on a problem such as generating text.” It’s essentially what the model learns. GPT-1 had 117 million parameters to work with, GPT-2 had 1.5 billion, and GPT- 3(Opens in a new window) arrived in February of 2021 with 175 billion parameters. By the time ChatGPT was released to the public in November 2022, the tech had reached version 3.5 ● GPT-3.5 is a text-to-text model, GPT-4 is more of a data-to-text model ● GPT-4 has a longer memory than previous versions The more you chat with a bot powered by GPT-3.5, the less likely it will be able to keep up, after a certain point (of around 8,000 words). GPT-4’s short-term memory is closer to 64,000 words. GPT-4 can even pull text from web pages when you share a URL in the prompt. ● GPT-4 accepts images as part of a prompt. It can even explain why memes are funny. 13
  • 14. Limitations of ChatGPT ● It is a large and complex model, which makes it resource-intensive to run ● It is a generative model, which means that it is not always able to provide accurate answers to specific questions ● Like all NLP models, is limited by the quality and quantity of the data it has been trained on ● The model is not yet able to ask clarifying questions when user input is ambiguous and instead tries to guess user intent ● Its resource-intensive nature and potential for irrelevant or nonsensical responses make it less than ideal for certain applications 14
  • 18. ChatGPT API ● Completions:- Given a prompt, the model will return one or more predicted completions, and can also return the probabilities of alternative tokens at each position. ● Models:- List and describe the various models available in the API. Understand what models are available and the differences between them ● Chat:- Given a chat conversation, the model will return a chat completion response. ● Images:- Given a prompt and/or an input image, the model will generate a new image. ● Audio:- Learn how to turn audio into text ● The OpenAI API uses API keys for authentication. Check API Keys page to retrieve the API key you'll use in your requests. ● The API is priced at $0.002 per 1K tokens. You have free credit to use, though 18
  • 20. ChatGPT API Messages ● Messages must be an array of message objects, where each object has a role (either "system", "user", or "assistant") and content (the content of the message). Conversations can be as short as 1 message or fill many pages. ● Typically, a conversation is formatted with a system message first, followed by alternating user and assistant messages. ● The system message helps set the behavior of the assistant. ● messages=[ ● {"role": "system", "content": "You are a helpful assistant."}, ● {"role": "user", "content": "Who won the world series in 2020?"}, ● {"role": "assistant", "content": "The Los Angeles Dodgers won the World Series in 2020."}, ● {"role": "user", "content": "Where was it played?"} ● ] 20
  • 21. Demo
  • 22. Q&A
  • 23. Take a stand ! ● Nominate yourself for the next meetup speaker. Reach Out 23
  • 24. ● Share: ○ Tweet using the hashtag #MuleSoftMeetups ○ Join Mysore Group: https://meetups.mulesoft.com/mysore/ ● Feedback: ○ Fill out the survey feedback and suggest topics for upcoming events ○ Contact MuleSoft at meetups@mulesoft.com for ways to improve the program ○ Reach out to Mysore Meetup Leaders (Shubham/Giridhar) to suggest topics for next Meetup What’s next? 24