SlideShare a Scribd company logo
1 of 40
[08/31/2019]: [MuleSoft And Artificial Intelligence]
[Pune Meetup]
All contents © MuleSoft Inc.
Agenda
2
• Introductions
• What is Artificial Intelligence
• Intelligent Application with Mulesoft and AI
• [MuleSoft and AI Application]
• What’s next
• Networking time
All contents © MuleSoft Inc.
Your Organizer
3
Niranjan
Joshi
Santosh
Ojha
Seemant
Jain
Vijay
Pande
Mukesh Thakur
A SHOW OF HANDS:
Who is new to this Meetup?
Manish Yadav
All contents © MuleSoft Inc.
INTRODUCTION TO AI
All contents © MuleSoft Inc.
Lets First Understand How We Think (Human
Intelligence)
5
• What is Intelligence ?
• How you play chess?
• How you play cards?
• How you drive a car?
• How you recognize voices of your relatives and
friends?
All contents © MuleSoft Inc.
Intelligence
6
• Intelligence has been defined in many ways, including: the capacity for logic,
understanding, self-awareness, learning, emotional knowledge, reasoning,
planning, creativity, critical thinking, and problem solving. More generally, it can be
described as the ability to perceive or infer information, and to retain it as
knowledge to be applied towards adaptive behaviors within an environment or
context.
• Intelligence is most often studied in humans but has also been observed in both
non-human animals and in plants. Intelligence in machines is called artificial
intelligence, which is commonly implemented in computer systems using programs
and, sometimes, appropriate hardware.
All contents © MuleSoft Inc.
7
What is Artificial Intelligence?
“The art of creating machines that perform functions that
require intelligence when performed by people.” (Kurzweil)
“The study of how to make computers do things at which, at
the moment, people are better.” (Rich and Knight)
All contents © MuleSoft Inc.
8
Humans perceive by patterns whereas the machines perceive by set of
rules and data.
Humans store and recall information by patterns, machines do it by
searching algorithms. For example, the number 40404040 is easy to
remember, store, and recall as its pattern is simple.
Humans can figure out the complete object even if some part of it is
missing or distorted; whereas the machines cannot do it correctly.
Difference between Human and Machine
Intelligence
All contents © MuleSoft Inc. 9
All contents © MuleSoft Inc. 10
• What Contributes to AI?
• Artificial intelligence is a science and technology based on disciplines
such as Computer Science, Biology, Psychology, Linguistics,
Mathematics, and Engineering. A major thrust of AI is in the
development of computer functions associated with human
intelligence, such as reasoning, learning, and problem solving.
All contents © MuleSoft Inc. 11
• The domain of artificial intelligence is huge in breadth and width.
While proceeding, we consider the broadly common and prospering
research areas in the domain of AI −
All contents © MuleSoft Inc.
Real Life Applications of Research Areas
12
There is a large array of applications where AI is serving common people in their day-to-day
lives
All contents © MuleSoft Inc.
Task Classification of AI
13
The domain of AI is classified into Formal tasks, Mundane
tasks, and Expert tasks.
All contents © MuleSoft Inc.
How AI works
14
• In our IoT and Mulesoft Meet up ,we discussed about sensors and
Actuators,So sensors take data from External enviroment and feed to
AI engine and Actuators performs the action after reacving signal
from AI engine
• Mechatronics- mechanics, electronics and computing which,
combined, make possible the generation of simpler, more
economical, reliable and versatile systems.
• Cybernetics- the study of communication and control, typically
involving regulatory feedback, in living organisms, in machines, and
in combinations of the two.
All contents © MuleSoft Inc.
Agents and Environment
15
• An AI system is composed of an agent and its environment. The agents act in their
environment. The environment may contain other agents.
• What are Agent and Environment?
• An agent is anything that can perceive its environment through sensors and acts upon
that environment through effectors.
• A human agent has sensory organs such as eyes, ears, nose, tongue and skin parallel to
the sensors, and other organs such as hands, legs, mouth, for effectors.
• A robotic agent replaces cameras and infrared range finders for the sensors, and various
motors and actuators for effectors.
• A software agent has encoded bit strings as its programs and actions.
All contents © MuleSoft Inc.
Programming Algorithm, Fuzzy logic in AI
16
• Searching 
• Searching is the universal technique of problem solving in AI. There are some single-player
games such as tile games, Sudoku, crossword, etc. The search algorithms help you to
search for a particular position in such games.
All contents © MuleSoft Inc.
Example of search Algorithms
17
• Breadth-First Search
• It starts from the root node, explores the neighboring nodes first and moves towards the
next level neighbors. It generates one tree at a time until the solution is found. It can be
implemented using FIFO queue data structure.
• Depth-First Search
• It is implemented in recursion with LIFO stack data structure. It creates the same set of
nodes as Breadth-First method, only in the different order.
• Bidirectional Search
• Uniform Cost Search
• Iterative Deepening Depth-First Search
• Informed (Heuristic) Search Strategies
• To solve large problems with large number of possible states, problem-specific knowledge
needs to be added to increase the efficiency of search algorithms.
All contents © MuleSoft Inc.
Fuzzy Logic Systems
18
• Fuzzy Logic (FL) is a method of reasoning that resembles human reasoning. The approach of FL imitates
the way of decision making in humans that involves all intermediate possibilities between digital values
YES and NO.
• The conventional logic block that a computer can understand takes precise input and produces a definite
output as TRUE or FALSE, which is equivalent to human’s YES or NO.
• The inventor of fuzzy logic, Lotfi Zadeh, observed that unlike computers, the human decision making
includes a range of possibilities between YES and NO, such as −
• fuzzy logic works on the levels of possibilities of input to achieve the definite output.
• Fuzzy Logic Systems Architecture
• It has four main parts as shown −
• Fuzzification Module − It transforms the system inputs, which are crisp numbers, into fuzzy sets. It
splits the input signal into five steps such as −
All contents © MuleSoft Inc.
Fuzzy Logic Systems four main parts
19
• Fuzzification Module − It transforms the system inputs, which are crisp numbers, into
fuzzy sets. It splits the input signal into five steps such as −
•Knowledge Base − It stores IF-THEN rules provided by experts.
•Inference Engine − It simulates the human reasoning process by making fuzzy inference on the inputs
and IF-THEN rules.
•Defuzzification Module − It transforms the fuzzy set obtained by the inference engine into a crisp value.
All contents © MuleSoft Inc.
Natural Language Processing
20
• Natural Language Processing (NLP) refers to AI method of communicating with an intelligent systems
using a natural language such as English.
• Processing of Natural Language is required when you want an intelligent system like robot to perform as
per your instructions, when you want to hear decision from a dialogue based clinical expert system, etc.
• The field of NLP involves making computers to perform useful tasks with the natural languages humans
use. The input and output of an NLP system can be −
• Speech
• Written Text
• Components of NLP
• There are two components of NLP as given −
• Natural Language Understanding (NLU)
• Understanding involves the following tasks −
• Mapping the given input in natural language into useful representations.
• Analyzing different aspects of the language.
All contents © MuleSoft Inc.
Machine learning and AI Technologies
21
• Machine learning (ML) is the scientific study of algorithms and statistical models that
computer systems use to perform a specific task without using explicit instructions, relying
on patterns and inference instead. It is seen as a subset of artificial intelligence. Machine
learning algorithms build a mathematical model based on sample data, known as "training
data", in order to make predictions or decisions without being explicitly programmed to
perform the task.Machine learning algorithms are used in a wide variety of applications,
such as email filtering and computer vision, where it is difficult or infeasible to develop a
conventional algorithm for effectively performing the task.
There are Many AI tools available in Market for doveloping AI solution,some of
them are
• Google ML Kit Google ML Kit, Google's machine learning beta SDK for mobile developers.
• Infosys Niaknowledge-based AI platform, to collect and aggregate organisational data
from people, processes and legacy systems into a self-learning knowledge base
• Tesnsor FlowFor dataflow and differentiable programming across a range of tasks. It is a
symbolic math library, and is also used for machine learning applications
• IBM watsonQuestion-answering computer system capable of answering questions posed in
natural language
All contents © MuleSoft Inc.
Intelligent Application with MuleSoft and AI
22
All contents © MuleSoft Inc.
Importance of MuleSoft(connected application
network) in AI
23
• It is a way to connect applications, data, and devices through APIs that exposes
some or all of their assets and data on the network. That network allows other
consumers from other parts of the business to come in and discover and use those
assets.
.Without a connected application network, AI is not going anywhere their is need of
strong Application network for development ,easy to use, Monitoring, scalable,
deployable AI system.
• API strategies enable organizations to easily connect together any application, data
source or device into a central nervous system where data can freely flow. This
application network is how the AI ‘brain’ can plug into a business’ digital ecosystem
to consume its data, provide valuable insights, and ultimately take action.
All contents © MuleSoft Inc. 24
All contents © MuleSoft Inc.
Orchestrating the ML pipeline with Mule flows
25
All contents © MuleSoft Inc. 26
All contents © MuleSoft Inc. 27
• Now we have Intelligent mule
All contents © MuleSoft Inc.
Sample Project ->MuleSoft and AI
28
IBM Watson Tone Analyzer
Integration Using Mule
All contents © MuleSoft Inc.
Let's begin with what we need before we start:
29
• In this competitive world, it is very important to understand the linguistic tone of a
customer so that we can decide whether we need to respond to the customer
immediately.
• These days, customer satisfaction is more important to a sales manager or
representative. A sales manager or representative may want to understand the
linguistic tone from his customer's sent mail. For example, when a customer sends
a mail to a sales manager or representative, the sales manager or representative
may want to understand the tone of the mail so that the sales manager or
representative can decide on further actions. This powerful feature can be achieved
by leveraging IBM Watson Tone Analyzer service.
All contents © MuleSoft Inc. 30
• Here we want to show how a Salesforce user (sales manager or representative) can
understand the tone of his customer's sent mail by integrating Salesforce and IBM
Watson Tone Analyzer service using Mule Soft ESB.
• We have written a Mule flow that makes the integration of Salesforce and IBM
Watson Tone Analyzerservice very easy.
• Prerequisites
• However, below are the prerequisites to test the flow shown below:
• An account at IBM Blumix.
• A deployed Tone Analyzer service to IBM Blumix.
• An account at Salesforce.
• A custom contact field CutomerTone__c on Salesforce. See here to create a custom
field on any
• Salesforce object.
All contents © MuleSoft Inc.
Flow Steps
31
• Receive mail from the configured mailbox using Mule IMAP connector. Once mail is received, the
current Mule Message contains
• email body as payload and the customer mail address as an inbound header fromAddress.
• Enrich the current Mule Message with the Salesforce contact ID corresponding to
the fromAddressretrieved above. The enriched Mule Message now contains a flow
variable contactId that holds the Salesforce contact ID corresponding to the customer mailaddress.
• Post the mail body held in the current payload to the IBM Tone Analyzer service. The Tone Analyzer
service gives a JSON response representingthe tone of the mail in the case of success.
• Calculate the tone based on the rule described here. As of now, we are interested only in Emotion
Tone. The Emotion Tone has threechildren tones named Cheerfulness, Negative, and Anger. Each of
these tones has an attribute called normalized score representing the value of the tone.If the sum
of normalized scores of Negative and Anger tones is greater than Cheerfulness tone, then we
consider the tone of the customer to be Angry otherwise Normal.
• Update the Salesforce Contact corresponding to the contact ID held in the flow
variable contactId with the tone calculated above.
All contents © MuleSoft Inc.
Tone-Analyzer Flow Design
32
• The main flow that receives an incoming mail from a customer.
All contents © MuleSoft Inc.
Get-Sf-Contact-Id Flow
33
• Sub-flow retrieves the Salesforce contact ID corresponding to the customer mail
address.
• This sub-flow finally returns a contact ID corresponding to the customer mail
address.
• In the tone analyzer flow, we use an enricher to enrich the message with the
contact ID
• retrieved from Salesforce and this contact id is stored in a flow variable
#[flowVars.contactId]
All contents © MuleSoft Inc.
Get-Tone Flow
34
• This sub-flow gets the tone of the mail from the customer. It posts the mail body
received from the customer to IBM Watson Tone Analyzer and retrieves the
linguistic tone of the mail.
All contents © MuleSoft Inc.
Update-Sf-Contact-With-Tone Flow
35
• This sub-flow updates the tone of the customer mail to the
custome field CustomerTone__c of Salesforce contact ID.
• This flow applies some logic on the tone response retrieved from
the get-tone flow. This logic is encapsulated in the Mule expression
component.
• This logic finally gives a JSON payload, represents the tone either
Angry or Normal, and is updated to Salesforce contact's custom field
CustomerTone__c.
• So finally, this flow updates tone, either Angry or Normal,
to the Salesforce contact.
All contents © MuleSoft Inc.
What’s next
36
• Share:
– Tweet your pictures with the hashtag #MuleMeetup
– Invite your network to join: <https://meetups.mulesoft.com/pune/>
• Feedback:
– Contact your organizer <Santosh Ojha> to suggest topics
– Contact MuleSoft at meetup@mulesoft.com for ways to improve the program
• Our next meetup:
– Date: <___>
– Location: <___>
– Topic: <___>
Networking time
Introduce yourself to your neighbors!
See you next time
Please send topic suggestions to the organizer
All contents © MuleSoft Inc.
39
Thank you !
Mule Meetup Pune - August 2019

More Related Content

What's hot

Types of artificial intelligence
Types of artificial intelligenceTypes of artificial intelligence
Types of artificial intelligenceHoneyChintal
 
Artificial Intelligence for Business - Version 2
Artificial Intelligence for Business - Version 2Artificial Intelligence for Business - Version 2
Artificial Intelligence for Business - Version 2Nicola Mattina
 
AI: Introduction to artificial intelligence
AI: Introduction to artificial intelligenceAI: Introduction to artificial intelligence
AI: Introduction to artificial intelligenceDataminingTools Inc
 
Intelligent personal assistants
Intelligent personal assistantsIntelligent personal assistants
Intelligent personal assistantsFabiolaPanetti
 
Lebanon SoftShore Artificial Intelligence Seminar - March 38, 2014
Lebanon SoftShore Artificial Intelligence Seminar - March 38, 2014Lebanon SoftShore Artificial Intelligence Seminar - March 38, 2014
Lebanon SoftShore Artificial Intelligence Seminar - March 38, 2014lebsoftshore
 
Nlp, robotics and expert system
Nlp, robotics and expert systemNlp, robotics and expert system
Nlp, robotics and expert systemsuman Mann Mann
 
CS 561a: Introduction to Artificial Intelligence
CS 561a: Introduction to Artificial IntelligenceCS 561a: Introduction to Artificial Intelligence
CS 561a: Introduction to Artificial Intelligencebutest
 
Introduction To Artificial Intelligence
Introduction To Artificial IntelligenceIntroduction To Artificial Intelligence
Introduction To Artificial IntelligenceSagacious IT Solution
 
Marek Rosa - Inventing General Artificial Intelligence: A Vision and Methodology
Marek Rosa - Inventing General Artificial Intelligence: A Vision and MethodologyMarek Rosa - Inventing General Artificial Intelligence: A Vision and Methodology
Marek Rosa - Inventing General Artificial Intelligence: A Vision and MethodologyMachine Learning Prague
 
Machine Learning, Artificial General Intelligence, and Robots with Human Minds
Machine Learning, Artificial General Intelligence, and Robots with Human MindsMachine Learning, Artificial General Intelligence, and Robots with Human Minds
Machine Learning, Artificial General Intelligence, and Robots with Human MindsUniversity of Huddersfield
 
AI technology-trends-2018
AI technology-trends-2018AI technology-trends-2018
AI technology-trends-2018anilk1000
 
ARTIFICIAL INTELLIGENT ( ITS / TASK 6 ) done by Wael Saad Hameedi / P71062
ARTIFICIAL INTELLIGENT ( ITS / TASK 6 ) done by Wael Saad Hameedi / P71062ARTIFICIAL INTELLIGENT ( ITS / TASK 6 ) done by Wael Saad Hameedi / P71062
ARTIFICIAL INTELLIGENT ( ITS / TASK 6 ) done by Wael Saad Hameedi / P71062Wael Alawsey
 

What's hot (20)

Types of artificial intelligence
Types of artificial intelligenceTypes of artificial intelligence
Types of artificial intelligence
 
Unit 2 ai
Unit 2 aiUnit 2 ai
Unit 2 ai
 
Artificial Intelligence for Business - Version 2
Artificial Intelligence for Business - Version 2Artificial Intelligence for Business - Version 2
Artificial Intelligence for Business - Version 2
 
AI Introduction
AI Introduction AI Introduction
AI Introduction
 
An overview on ai
An overview on aiAn overview on ai
An overview on ai
 
Introduction to artificial intelligence
Introduction to artificial intelligenceIntroduction to artificial intelligence
Introduction to artificial intelligence
 
AI: Introduction to artificial intelligence
AI: Introduction to artificial intelligenceAI: Introduction to artificial intelligence
AI: Introduction to artificial intelligence
 
Intelligent personal assistants
Intelligent personal assistantsIntelligent personal assistants
Intelligent personal assistants
 
Cognitive computing
Cognitive computingCognitive computing
Cognitive computing
 
Aritificial intelligence
Aritificial intelligenceAritificial intelligence
Aritificial intelligence
 
Lebanon SoftShore Artificial Intelligence Seminar - March 38, 2014
Lebanon SoftShore Artificial Intelligence Seminar - March 38, 2014Lebanon SoftShore Artificial Intelligence Seminar - March 38, 2014
Lebanon SoftShore Artificial Intelligence Seminar - March 38, 2014
 
Nlp, robotics and expert system
Nlp, robotics and expert systemNlp, robotics and expert system
Nlp, robotics and expert system
 
CS 561a: Introduction to Artificial Intelligence
CS 561a: Introduction to Artificial IntelligenceCS 561a: Introduction to Artificial Intelligence
CS 561a: Introduction to Artificial Intelligence
 
Introduction To Artificial Intelligence
Introduction To Artificial IntelligenceIntroduction To Artificial Intelligence
Introduction To Artificial Intelligence
 
Ai notes
Ai notesAi notes
Ai notes
 
(Ch#1) artificial intelligence
(Ch#1) artificial intelligence(Ch#1) artificial intelligence
(Ch#1) artificial intelligence
 
Marek Rosa - Inventing General Artificial Intelligence: A Vision and Methodology
Marek Rosa - Inventing General Artificial Intelligence: A Vision and MethodologyMarek Rosa - Inventing General Artificial Intelligence: A Vision and Methodology
Marek Rosa - Inventing General Artificial Intelligence: A Vision and Methodology
 
Machine Learning, Artificial General Intelligence, and Robots with Human Minds
Machine Learning, Artificial General Intelligence, and Robots with Human MindsMachine Learning, Artificial General Intelligence, and Robots with Human Minds
Machine Learning, Artificial General Intelligence, and Robots with Human Minds
 
AI technology-trends-2018
AI technology-trends-2018AI technology-trends-2018
AI technology-trends-2018
 
ARTIFICIAL INTELLIGENT ( ITS / TASK 6 ) done by Wael Saad Hameedi / P71062
ARTIFICIAL INTELLIGENT ( ITS / TASK 6 ) done by Wael Saad Hameedi / P71062ARTIFICIAL INTELLIGENT ( ITS / TASK 6 ) done by Wael Saad Hameedi / P71062
ARTIFICIAL INTELLIGENT ( ITS / TASK 6 ) done by Wael Saad Hameedi / P71062
 

Similar to Mule Meetup Pune - August 2019

IT Presentation .pptx
IT Presentation .pptxIT Presentation .pptx
IT Presentation .pptxbhola22
 
Artificial-Intelligence--AI And ES Nowledge Base Systems
Artificial-Intelligence--AI And ES Nowledge Base SystemsArtificial-Intelligence--AI And ES Nowledge Base Systems
Artificial-Intelligence--AI And ES Nowledge Base SystemsJim Webb
 
ARTIFICIAL INTELLIGENCE AND EXPERT SYSTEMS KNOWLEDGE-BASED SYSTEMS TEACHING ...
ARTIFICIAL INTELLIGENCE AND EXPERT SYSTEMS  KNOWLEDGE-BASED SYSTEMS TEACHING ...ARTIFICIAL INTELLIGENCE AND EXPERT SYSTEMS  KNOWLEDGE-BASED SYSTEMS TEACHING ...
ARTIFICIAL INTELLIGENCE AND EXPERT SYSTEMS KNOWLEDGE-BASED SYSTEMS TEACHING ...Arlene Smith
 
Unit No. 1 Artificial Intelligence Overview.pptx
Unit No. 1 Artificial Intelligence Overview.pptxUnit No. 1 Artificial Intelligence Overview.pptx
Unit No. 1 Artificial Intelligence Overview.pptxswagatkarve
 
Cognitive Computing - A Primer
Cognitive Computing - A PrimerCognitive Computing - A Primer
Cognitive Computing - A PrimerMarlabs
 
How to build an AI app.pdf
How to build an AI app.pdfHow to build an AI app.pdf
How to build an AI app.pdfStephenAmell4
 
A quick peek into the word of AI
A quick peek into the word of AIA quick peek into the word of AI
A quick peek into the word of AISubhendu Dey
 
Artificial Intteligence-unit 1.pptx
Artificial Intteligence-unit 1.pptxArtificial Intteligence-unit 1.pptx
Artificial Intteligence-unit 1.pptxhoneydv1979
 
Building an AI App: A Comprehensive Guide for Beginners
Building an AI App: A Comprehensive Guide for BeginnersBuilding an AI App: A Comprehensive Guide for Beginners
Building an AI App: A Comprehensive Guide for BeginnersChristopherTHyatt
 
UNIT1-AI final.pptx
UNIT1-AI final.pptxUNIT1-AI final.pptx
UNIT1-AI final.pptxCS50Bootcamp
 
EELU AI lecture 1- fall 2022-2023 - Chapter 01- Introduction.ppt
EELU AI  lecture 1- fall 2022-2023 - Chapter 01- Introduction.pptEELU AI  lecture 1- fall 2022-2023 - Chapter 01- Introduction.ppt
EELU AI lecture 1- fall 2022-2023 - Chapter 01- Introduction.pptDaliaMagdy12
 
How to build an AI app.pdf
How to build an AI app.pdfHow to build an AI app.pdf
How to build an AI app.pdfMatthewHaws4
 
[Seminar] 200731 Hyeonwook Lee
[Seminar] 200731 Hyeonwook Lee[Seminar] 200731 Hyeonwook Lee
[Seminar] 200731 Hyeonwook Leeivaderivader
 
Artificial intelligence
Artificial intelligenceArtificial intelligence
Artificial intelligenceMinigranth
 
Aritficial intelligence
Aritficial intelligenceAritficial intelligence
Aritficial intelligenceMaqsood Awan
 
What is Artificial Intelligence and Machine Learning (1).pptx
What is Artificial Intelligence and Machine Learning (1).pptxWhat is Artificial Intelligence and Machine Learning (1).pptx
What is Artificial Intelligence and Machine Learning (1).pptxprasadishana669
 
A.i. ppt by suvinsh mishra
A.i. ppt by suvinsh mishraA.i. ppt by suvinsh mishra
A.i. ppt by suvinsh mishraSuvinsh Mishra
 
Artificial intelligence in industry
Artificial intelligence in industryArtificial intelligence in industry
Artificial intelligence in industryDipanjan Mitra
 

Similar to Mule Meetup Pune - August 2019 (20)

IT Presentation .pptx
IT Presentation .pptxIT Presentation .pptx
IT Presentation .pptx
 
Artificial-Intelligence--AI And ES Nowledge Base Systems
Artificial-Intelligence--AI And ES Nowledge Base SystemsArtificial-Intelligence--AI And ES Nowledge Base Systems
Artificial-Intelligence--AI And ES Nowledge Base Systems
 
ARTIFICIAL INTELLIGENCE AND EXPERT SYSTEMS KNOWLEDGE-BASED SYSTEMS TEACHING ...
ARTIFICIAL INTELLIGENCE AND EXPERT SYSTEMS  KNOWLEDGE-BASED SYSTEMS TEACHING ...ARTIFICIAL INTELLIGENCE AND EXPERT SYSTEMS  KNOWLEDGE-BASED SYSTEMS TEACHING ...
ARTIFICIAL INTELLIGENCE AND EXPERT SYSTEMS KNOWLEDGE-BASED SYSTEMS TEACHING ...
 
Unit No. 1 Artificial Intelligence Overview.pptx
Unit No. 1 Artificial Intelligence Overview.pptxUnit No. 1 Artificial Intelligence Overview.pptx
Unit No. 1 Artificial Intelligence Overview.pptx
 
Cognitive Computing - A Primer
Cognitive Computing - A PrimerCognitive Computing - A Primer
Cognitive Computing - A Primer
 
How to build an AI app.pdf
How to build an AI app.pdfHow to build an AI app.pdf
How to build an AI app.pdf
 
How to build an AI app.pdf
How to build an AI app.pdfHow to build an AI app.pdf
How to build an AI app.pdf
 
A quick peek into the word of AI
A quick peek into the word of AIA quick peek into the word of AI
A quick peek into the word of AI
 
Artificial Intteligence-unit 1.pptx
Artificial Intteligence-unit 1.pptxArtificial Intteligence-unit 1.pptx
Artificial Intteligence-unit 1.pptx
 
Building an AI App: A Comprehensive Guide for Beginners
Building an AI App: A Comprehensive Guide for BeginnersBuilding an AI App: A Comprehensive Guide for Beginners
Building an AI App: A Comprehensive Guide for Beginners
 
UNIT1-AI final.pptx
UNIT1-AI final.pptxUNIT1-AI final.pptx
UNIT1-AI final.pptx
 
EELU AI lecture 1- fall 2022-2023 - Chapter 01- Introduction.ppt
EELU AI  lecture 1- fall 2022-2023 - Chapter 01- Introduction.pptEELU AI  lecture 1- fall 2022-2023 - Chapter 01- Introduction.ppt
EELU AI lecture 1- fall 2022-2023 - Chapter 01- Introduction.ppt
 
How to build an AI app.pdf
How to build an AI app.pdfHow to build an AI app.pdf
How to build an AI app.pdf
 
Ai automation prof nikhat fatma mumtaz husain shaikh
Ai automation  prof nikhat fatma mumtaz husain shaikhAi automation  prof nikhat fatma mumtaz husain shaikh
Ai automation prof nikhat fatma mumtaz husain shaikh
 
[Seminar] 200731 Hyeonwook Lee
[Seminar] 200731 Hyeonwook Lee[Seminar] 200731 Hyeonwook Lee
[Seminar] 200731 Hyeonwook Lee
 
Artificial intelligence
Artificial intelligenceArtificial intelligence
Artificial intelligence
 
Aritficial intelligence
Aritficial intelligenceAritficial intelligence
Aritficial intelligence
 
What is Artificial Intelligence and Machine Learning (1).pptx
What is Artificial Intelligence and Machine Learning (1).pptxWhat is Artificial Intelligence and Machine Learning (1).pptx
What is Artificial Intelligence and Machine Learning (1).pptx
 
A.i. ppt by suvinsh mishra
A.i. ppt by suvinsh mishraA.i. ppt by suvinsh mishra
A.i. ppt by suvinsh mishra
 
Artificial intelligence in industry
Artificial intelligence in industryArtificial intelligence in industry
Artificial intelligence in industry
 

More from Santosh Ojha

docusign pune meetup.pdf
docusign pune meetup.pdfdocusign pune meetup.pdf
docusign pune meetup.pdfSantosh Ojha
 
Varanasi_Meetup_Universal API Managment.pdf
Varanasi_Meetup_Universal API Managment.pdfVaranasi_Meetup_Universal API Managment.pdf
Varanasi_Meetup_Universal API Managment.pdfSantosh Ojha
 
Hyd virtual meetupslides11jul
Hyd virtual meetupslides11julHyd virtual meetupslides11jul
Hyd virtual meetupslides11julSantosh Ojha
 
Mulesoft Pune Meetup Deck - Apr 2020
Mulesoft Pune Meetup Deck - Apr 2020Mulesoft Pune Meetup Deck - Apr 2020
Mulesoft Pune Meetup Deck - Apr 2020Santosh Ojha
 
Meetup slide 19th oct
Meetup slide 19th octMeetup slide 19th oct
Meetup slide 19th octSantosh Ojha
 
Hyderabad Mule meetup #9
 Hyderabad Mule meetup #9 Hyderabad Mule meetup #9
Hyderabad Mule meetup #9Santosh Ojha
 
Pune Mule Meetups July 2019
Pune Mule Meetups July 2019Pune Mule Meetups July 2019
Pune Mule Meetups July 2019Santosh Ojha
 
Examples from Pune meetup
Examples from Pune meetupExamples from Pune meetup
Examples from Pune meetupSantosh Ojha
 
Meetup slide 1st june
Meetup slide 1st juneMeetup slide 1st june
Meetup slide 1st juneSantosh Ojha
 
Pune mulesoft meetup june 29 - b2 b
Pune mulesoft meetup   june 29 - b2 bPune mulesoft meetup   june 29 - b2 b
Pune mulesoft meetup june 29 - b2 bSantosh Ojha
 
Meetup slide 20_apr
Meetup slide 20_aprMeetup slide 20_apr
Meetup slide 20_aprSantosh Ojha
 
Meetup hyderabad mule-4.x
Meetup hyderabad mule-4.xMeetup hyderabad mule-4.x
Meetup hyderabad mule-4.xSantosh Ojha
 
Pune meetup 16 feb 2019
Pune meetup 16 feb 2019Pune meetup 16 feb 2019
Pune meetup 16 feb 2019Santosh Ojha
 
Meetup slide 15_dec_v2
Meetup slide 15_dec_v2Meetup slide 15_dec_v2
Meetup slide 15_dec_v2Santosh Ojha
 

More from Santosh Ojha (16)

docusign pune meetup.pdf
docusign pune meetup.pdfdocusign pune meetup.pdf
docusign pune meetup.pdf
 
Varanasi_Meetup_Universal API Managment.pdf
Varanasi_Meetup_Universal API Managment.pdfVaranasi_Meetup_Universal API Managment.pdf
Varanasi_Meetup_Universal API Managment.pdf
 
Hyd virtual meetupslides11jul
Hyd virtual meetupslides11julHyd virtual meetupslides11jul
Hyd virtual meetupslides11jul
 
Mulesoft Pune Meetup Deck - Apr 2020
Mulesoft Pune Meetup Deck - Apr 2020Mulesoft Pune Meetup Deck - Apr 2020
Mulesoft Pune Meetup Deck - Apr 2020
 
Meetup tdd
Meetup tddMeetup tdd
Meetup tdd
 
Meetup slide 19th oct
Meetup slide 19th octMeetup slide 19th oct
Meetup slide 19th oct
 
Hyderabad Mule meetup #9
 Hyderabad Mule meetup #9 Hyderabad Mule meetup #9
Hyderabad Mule meetup #9
 
Pune Mule Meetups July 2019
Pune Mule Meetups July 2019Pune Mule Meetups July 2019
Pune Mule Meetups July 2019
 
Examples from Pune meetup
Examples from Pune meetupExamples from Pune meetup
Examples from Pune meetup
 
Meetup slide 1st june
Meetup slide 1st juneMeetup slide 1st june
Meetup slide 1st june
 
Pune mulesoft meetup june 29 - b2 b
Pune mulesoft meetup   june 29 - b2 bPune mulesoft meetup   june 29 - b2 b
Pune mulesoft meetup june 29 - b2 b
 
Meetup slide 20_apr
Meetup slide 20_aprMeetup slide 20_apr
Meetup slide 20_apr
 
Meetup hyderabad mule-4.x
Meetup hyderabad mule-4.xMeetup hyderabad mule-4.x
Meetup hyderabad mule-4.x
 
Pune meetup 16 feb 2019
Pune meetup 16 feb 2019Pune meetup 16 feb 2019
Pune meetup 16 feb 2019
 
Meetup slide 15_dec_v2
Meetup slide 15_dec_v2Meetup slide 15_dec_v2
Meetup slide 15_dec_v2
 
Mule activemq
Mule activemqMule activemq
Mule activemq
 

Recently uploaded

Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application ) Sakshi Ghasle
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxRaymartEstabillo3
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfSumit Tiwari
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsKarinaGenton
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxthorishapillay1
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 

Recently uploaded (20)

Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application )
 
Staff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSDStaff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSD
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its Characteristics
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptx
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
9953330565 Low Rate Call Girls In Rohini Delhi NCR
9953330565 Low Rate Call Girls In Rohini  Delhi NCR9953330565 Low Rate Call Girls In Rohini  Delhi NCR
9953330565 Low Rate Call Girls In Rohini Delhi NCR
 

Mule Meetup Pune - August 2019

  • 1. [08/31/2019]: [MuleSoft And Artificial Intelligence] [Pune Meetup]
  • 2. All contents © MuleSoft Inc. Agenda 2 • Introductions • What is Artificial Intelligence • Intelligent Application with Mulesoft and AI • [MuleSoft and AI Application] • What’s next • Networking time
  • 3. All contents © MuleSoft Inc. Your Organizer 3 Niranjan Joshi Santosh Ojha Seemant Jain Vijay Pande Mukesh Thakur A SHOW OF HANDS: Who is new to this Meetup? Manish Yadav
  • 4. All contents © MuleSoft Inc. INTRODUCTION TO AI
  • 5. All contents © MuleSoft Inc. Lets First Understand How We Think (Human Intelligence) 5 • What is Intelligence ? • How you play chess? • How you play cards? • How you drive a car? • How you recognize voices of your relatives and friends?
  • 6. All contents © MuleSoft Inc. Intelligence 6 • Intelligence has been defined in many ways, including: the capacity for logic, understanding, self-awareness, learning, emotional knowledge, reasoning, planning, creativity, critical thinking, and problem solving. More generally, it can be described as the ability to perceive or infer information, and to retain it as knowledge to be applied towards adaptive behaviors within an environment or context. • Intelligence is most often studied in humans but has also been observed in both non-human animals and in plants. Intelligence in machines is called artificial intelligence, which is commonly implemented in computer systems using programs and, sometimes, appropriate hardware.
  • 7. All contents © MuleSoft Inc. 7 What is Artificial Intelligence? “The art of creating machines that perform functions that require intelligence when performed by people.” (Kurzweil) “The study of how to make computers do things at which, at the moment, people are better.” (Rich and Knight)
  • 8. All contents © MuleSoft Inc. 8 Humans perceive by patterns whereas the machines perceive by set of rules and data. Humans store and recall information by patterns, machines do it by searching algorithms. For example, the number 40404040 is easy to remember, store, and recall as its pattern is simple. Humans can figure out the complete object even if some part of it is missing or distorted; whereas the machines cannot do it correctly. Difference between Human and Machine Intelligence
  • 9. All contents © MuleSoft Inc. 9
  • 10. All contents © MuleSoft Inc. 10 • What Contributes to AI? • Artificial intelligence is a science and technology based on disciplines such as Computer Science, Biology, Psychology, Linguistics, Mathematics, and Engineering. A major thrust of AI is in the development of computer functions associated with human intelligence, such as reasoning, learning, and problem solving.
  • 11. All contents © MuleSoft Inc. 11 • The domain of artificial intelligence is huge in breadth and width. While proceeding, we consider the broadly common and prospering research areas in the domain of AI −
  • 12. All contents © MuleSoft Inc. Real Life Applications of Research Areas 12 There is a large array of applications where AI is serving common people in their day-to-day lives
  • 13. All contents © MuleSoft Inc. Task Classification of AI 13 The domain of AI is classified into Formal tasks, Mundane tasks, and Expert tasks.
  • 14. All contents © MuleSoft Inc. How AI works 14 • In our IoT and Mulesoft Meet up ,we discussed about sensors and Actuators,So sensors take data from External enviroment and feed to AI engine and Actuators performs the action after reacving signal from AI engine • Mechatronics- mechanics, electronics and computing which, combined, make possible the generation of simpler, more economical, reliable and versatile systems. • Cybernetics- the study of communication and control, typically involving regulatory feedback, in living organisms, in machines, and in combinations of the two.
  • 15. All contents © MuleSoft Inc. Agents and Environment 15 • An AI system is composed of an agent and its environment. The agents act in their environment. The environment may contain other agents. • What are Agent and Environment? • An agent is anything that can perceive its environment through sensors and acts upon that environment through effectors. • A human agent has sensory organs such as eyes, ears, nose, tongue and skin parallel to the sensors, and other organs such as hands, legs, mouth, for effectors. • A robotic agent replaces cameras and infrared range finders for the sensors, and various motors and actuators for effectors. • A software agent has encoded bit strings as its programs and actions.
  • 16. All contents © MuleSoft Inc. Programming Algorithm, Fuzzy logic in AI 16 • Searching  • Searching is the universal technique of problem solving in AI. There are some single-player games such as tile games, Sudoku, crossword, etc. The search algorithms help you to search for a particular position in such games.
  • 17. All contents © MuleSoft Inc. Example of search Algorithms 17 • Breadth-First Search • It starts from the root node, explores the neighboring nodes first and moves towards the next level neighbors. It generates one tree at a time until the solution is found. It can be implemented using FIFO queue data structure. • Depth-First Search • It is implemented in recursion with LIFO stack data structure. It creates the same set of nodes as Breadth-First method, only in the different order. • Bidirectional Search • Uniform Cost Search • Iterative Deepening Depth-First Search • Informed (Heuristic) Search Strategies • To solve large problems with large number of possible states, problem-specific knowledge needs to be added to increase the efficiency of search algorithms.
  • 18. All contents © MuleSoft Inc. Fuzzy Logic Systems 18 • Fuzzy Logic (FL) is a method of reasoning that resembles human reasoning. The approach of FL imitates the way of decision making in humans that involves all intermediate possibilities between digital values YES and NO. • The conventional logic block that a computer can understand takes precise input and produces a definite output as TRUE or FALSE, which is equivalent to human’s YES or NO. • The inventor of fuzzy logic, Lotfi Zadeh, observed that unlike computers, the human decision making includes a range of possibilities between YES and NO, such as − • fuzzy logic works on the levels of possibilities of input to achieve the definite output. • Fuzzy Logic Systems Architecture • It has four main parts as shown − • Fuzzification Module − It transforms the system inputs, which are crisp numbers, into fuzzy sets. It splits the input signal into five steps such as −
  • 19. All contents © MuleSoft Inc. Fuzzy Logic Systems four main parts 19 • Fuzzification Module − It transforms the system inputs, which are crisp numbers, into fuzzy sets. It splits the input signal into five steps such as − •Knowledge Base − It stores IF-THEN rules provided by experts. •Inference Engine − It simulates the human reasoning process by making fuzzy inference on the inputs and IF-THEN rules. •Defuzzification Module − It transforms the fuzzy set obtained by the inference engine into a crisp value.
  • 20. All contents © MuleSoft Inc. Natural Language Processing 20 • Natural Language Processing (NLP) refers to AI method of communicating with an intelligent systems using a natural language such as English. • Processing of Natural Language is required when you want an intelligent system like robot to perform as per your instructions, when you want to hear decision from a dialogue based clinical expert system, etc. • The field of NLP involves making computers to perform useful tasks with the natural languages humans use. The input and output of an NLP system can be − • Speech • Written Text • Components of NLP • There are two components of NLP as given − • Natural Language Understanding (NLU) • Understanding involves the following tasks − • Mapping the given input in natural language into useful representations. • Analyzing different aspects of the language.
  • 21. All contents © MuleSoft Inc. Machine learning and AI Technologies 21 • Machine learning (ML) is the scientific study of algorithms and statistical models that computer systems use to perform a specific task without using explicit instructions, relying on patterns and inference instead. It is seen as a subset of artificial intelligence. Machine learning algorithms build a mathematical model based on sample data, known as "training data", in order to make predictions or decisions without being explicitly programmed to perform the task.Machine learning algorithms are used in a wide variety of applications, such as email filtering and computer vision, where it is difficult or infeasible to develop a conventional algorithm for effectively performing the task. There are Many AI tools available in Market for doveloping AI solution,some of them are • Google ML Kit Google ML Kit, Google's machine learning beta SDK for mobile developers. • Infosys Niaknowledge-based AI platform, to collect and aggregate organisational data from people, processes and legacy systems into a self-learning knowledge base • Tesnsor FlowFor dataflow and differentiable programming across a range of tasks. It is a symbolic math library, and is also used for machine learning applications • IBM watsonQuestion-answering computer system capable of answering questions posed in natural language
  • 22. All contents © MuleSoft Inc. Intelligent Application with MuleSoft and AI 22
  • 23. All contents © MuleSoft Inc. Importance of MuleSoft(connected application network) in AI 23 • It is a way to connect applications, data, and devices through APIs that exposes some or all of their assets and data on the network. That network allows other consumers from other parts of the business to come in and discover and use those assets. .Without a connected application network, AI is not going anywhere their is need of strong Application network for development ,easy to use, Monitoring, scalable, deployable AI system. • API strategies enable organizations to easily connect together any application, data source or device into a central nervous system where data can freely flow. This application network is how the AI ‘brain’ can plug into a business’ digital ecosystem to consume its data, provide valuable insights, and ultimately take action.
  • 24. All contents © MuleSoft Inc. 24
  • 25. All contents © MuleSoft Inc. Orchestrating the ML pipeline with Mule flows 25
  • 26. All contents © MuleSoft Inc. 26
  • 27. All contents © MuleSoft Inc. 27 • Now we have Intelligent mule
  • 28. All contents © MuleSoft Inc. Sample Project ->MuleSoft and AI 28 IBM Watson Tone Analyzer Integration Using Mule
  • 29. All contents © MuleSoft Inc. Let's begin with what we need before we start: 29 • In this competitive world, it is very important to understand the linguistic tone of a customer so that we can decide whether we need to respond to the customer immediately. • These days, customer satisfaction is more important to a sales manager or representative. A sales manager or representative may want to understand the linguistic tone from his customer's sent mail. For example, when a customer sends a mail to a sales manager or representative, the sales manager or representative may want to understand the tone of the mail so that the sales manager or representative can decide on further actions. This powerful feature can be achieved by leveraging IBM Watson Tone Analyzer service.
  • 30. All contents © MuleSoft Inc. 30 • Here we want to show how a Salesforce user (sales manager or representative) can understand the tone of his customer's sent mail by integrating Salesforce and IBM Watson Tone Analyzer service using Mule Soft ESB. • We have written a Mule flow that makes the integration of Salesforce and IBM Watson Tone Analyzerservice very easy. • Prerequisites • However, below are the prerequisites to test the flow shown below: • An account at IBM Blumix. • A deployed Tone Analyzer service to IBM Blumix. • An account at Salesforce. • A custom contact field CutomerTone__c on Salesforce. See here to create a custom field on any • Salesforce object.
  • 31. All contents © MuleSoft Inc. Flow Steps 31 • Receive mail from the configured mailbox using Mule IMAP connector. Once mail is received, the current Mule Message contains • email body as payload and the customer mail address as an inbound header fromAddress. • Enrich the current Mule Message with the Salesforce contact ID corresponding to the fromAddressretrieved above. The enriched Mule Message now contains a flow variable contactId that holds the Salesforce contact ID corresponding to the customer mailaddress. • Post the mail body held in the current payload to the IBM Tone Analyzer service. The Tone Analyzer service gives a JSON response representingthe tone of the mail in the case of success. • Calculate the tone based on the rule described here. As of now, we are interested only in Emotion Tone. The Emotion Tone has threechildren tones named Cheerfulness, Negative, and Anger. Each of these tones has an attribute called normalized score representing the value of the tone.If the sum of normalized scores of Negative and Anger tones is greater than Cheerfulness tone, then we consider the tone of the customer to be Angry otherwise Normal. • Update the Salesforce Contact corresponding to the contact ID held in the flow variable contactId with the tone calculated above.
  • 32. All contents © MuleSoft Inc. Tone-Analyzer Flow Design 32 • The main flow that receives an incoming mail from a customer.
  • 33. All contents © MuleSoft Inc. Get-Sf-Contact-Id Flow 33 • Sub-flow retrieves the Salesforce contact ID corresponding to the customer mail address. • This sub-flow finally returns a contact ID corresponding to the customer mail address. • In the tone analyzer flow, we use an enricher to enrich the message with the contact ID • retrieved from Salesforce and this contact id is stored in a flow variable #[flowVars.contactId]
  • 34. All contents © MuleSoft Inc. Get-Tone Flow 34 • This sub-flow gets the tone of the mail from the customer. It posts the mail body received from the customer to IBM Watson Tone Analyzer and retrieves the linguistic tone of the mail.
  • 35. All contents © MuleSoft Inc. Update-Sf-Contact-With-Tone Flow 35 • This sub-flow updates the tone of the customer mail to the custome field CustomerTone__c of Salesforce contact ID. • This flow applies some logic on the tone response retrieved from the get-tone flow. This logic is encapsulated in the Mule expression component. • This logic finally gives a JSON payload, represents the tone either Angry or Normal, and is updated to Salesforce contact's custom field CustomerTone__c. • So finally, this flow updates tone, either Angry or Normal, to the Salesforce contact.
  • 36. All contents © MuleSoft Inc. What’s next 36 • Share: – Tweet your pictures with the hashtag #MuleMeetup – Invite your network to join: <https://meetups.mulesoft.com/pune/> • Feedback: – Contact your organizer <Santosh Ojha> to suggest topics – Contact MuleSoft at meetup@mulesoft.com for ways to improve the program • Our next meetup: – Date: <___> – Location: <___> – Topic: <___>
  • 38. See you next time Please send topic suggestions to the organizer
  • 39. All contents © MuleSoft Inc. 39 Thank you !