SlideShare a Scribd company logo
1 of 14
Knowledge-Based
Agent inArtificial
intelligence
Dr. C.V. Suresh Babu
(CentreforKnowledgeTransfer)
institute
(CentreforKnowledgeTransfer)
institute
Introduction
• An intelligent agent needs knowledge about the real
world for taking decisions and reasoning to act
efficiently.
https://www.youtube.com/watch?v=E8Ox6H64yu8
(CentreforKnowledgeTransfer)
institute
Introduction
 Knowledge-based agents are those agents who have the
capability of maintaining an internal state of knowledge,
reason over that knowledge, update their knowledge after
observations and take actions.
 These agents can represent the world with some formal
representation and act intelligently.
(CentreforKnowledgeTransfer)
institute
Knowledge-based agents are composed of two main parts:
Fig: Foundations of Computational Agents
• Knowledge-base and
• Inference system
(CentreforKnowledgeTransfer)
institute
Why
Knowledge
BasedAgents?
A knowledge-based agent must able to do the following:
 An agent should be able to represent states, actions, etc.
 An agent Should be able to incorporate new percepts
 An agent can update the internal representation of the world
 An agent can deduce the internal representation of the world
 An agent can deduce appropriate actions.
(CentreforKnowledgeTransfer)
institute
The
architecture
of knowledge-
based agent:
• The knowledge-based agent (KBA) take input from the environment
by perceiving the environment.
• The input is taken by the inference engine of the agent and which also
communicate with KB to decide as per the knowledge store in KB.
• The learning element of KBA regularly updates the KB by learning
new knowledge.
Fig: Representing a
generalized architecture for a
knowledge-based agent.
(CentreforKnowledgeTransfer)
institute
Knowledge
base
 Knowledge-base is a central component of a knowledge-based
agent, it is also known as KB.
 It is a collection of sentences (here 'sentence' is a technical term
and it is not identical to sentence in English).
 These sentences are expressed in a language which is called a
knowledge representation language.
 The Knowledge-base of KBA stores fact about the world.
(CentreforKnowledgeTransfer)
institute
Why use a
knowledge
base?
 Knowledge-base is required for
updating knowledge for an agent
to learn with experiences and take
action as per the knowledge.
(CentreforKnowledgeTransfer)
institute
Inference
system
 Inference means deriving new sentences from old. Inference
system allows us to add a new sentence to the knowledge base.
 A sentence is a proposition about the world. Inference system
applies logical rules to the KB to deduce new information.
 Inference system generates new facts so that an agent can update
the KB.
 An inference system works mainly in two rules which are given as:
 Forward chaining
 Backward chaining
(CentreforKnowledgeTransfer)
institute
Operations
Performed by
KBA
Following are three operations which are performed by KBA in
order to show the intelligent behavior:
1. TELL:This operation tells the knowledge base what it perceives
from the environment.
2. ASK:This operation asks the knowledge base what action it
should perform.
3. Perform: It performs the selected action.
(CentreforKnowledgeTransfer)
institute
Various levels
of knowledge-
based agent:
A knowledge-based agent can be viewed at different levels which
are given below:
1. Knowledge level
 Knowledge level is the first level of knowledge-based agent, and in
this level, we need to specify what the agent knows, and what the
agent goals are.
 With these specifications, we can fix its behavior.
 For example, suppose an automated taxi agent needs to go from a
stationA to station B, and he knows the way from A to B, so this
comes at the knowledge level.
(CentreforKnowledgeTransfer)
institute
Various levels
of knowledge-
based agent:
2. Logical level:
 At this level, we understand that how the knowledge
representation of knowledge is stored.
 At this level, sentences are encoded into different logics.
 At the logical level, an encoding of knowledge into logical
sentences occurs.
 At the logical level we can expect to the automated taxi agent to
reach to the destination B.
(CentreforKnowledgeTransfer)
institute
Various levels
of knowledge-
based agent:
3. Implementation level:
 This is the physical representation of logic and knowledge.
 At the implementation level agent perform actions as per logical
and knowledge level.
 At this level, an automated taxi agent actually implement his
knowledge and logic so that he can reach to the destination.
(CentreforKnowledgeTransfer)
institute
Approaches
to designing
a knowledge-
based agent
There are mainly two approaches to build a knowledge-based
agent:
1. Declarative approach: We can create a knowledge-based agent
by initializing with an empty knowledge base and telling the
agent all the sentences with which we want to start with.This
approach is called Declarative approach.
2. Procedural approach: In the procedural approach, we directly
encode desired behavior as a program code.Which means we
just need to write a program that already encodes the desired
behavior or agent.
 However, in the real world, a successful agent can be built by
combining both declarative and procedural approaches, and
declarative knowledge can often be compiled into more efficient
procedural code.

More Related Content

What's hot

Artificial Intelligence Searching Techniques
Artificial Intelligence Searching TechniquesArtificial Intelligence Searching Techniques
Artificial Intelligence Searching TechniquesDr. C.V. Suresh Babu
 
Ensemble learning
Ensemble learningEnsemble learning
Ensemble learningHaris Jamil
 
Control Strategies in AI
Control Strategies in AIControl Strategies in AI
Control Strategies in AIAmey Kerkar
 
What is knowledge representation and reasoning ?
What is knowledge representation and reasoning ?What is knowledge representation and reasoning ?
What is knowledge representation and reasoning ?Anant Soft Computing
 
Knowledge representation in AI
Knowledge representation in AIKnowledge representation in AI
Knowledge representation in AIVishal Singh
 
Dempster Shafer Theory AI CSE 8th Sem
Dempster Shafer Theory AI CSE 8th SemDempster Shafer Theory AI CSE 8th Sem
Dempster Shafer Theory AI CSE 8th SemDigiGurukul
 
Analytical learning
Analytical learningAnalytical learning
Analytical learningswapnac12
 
Knowledge Representation & Reasoning
Knowledge Representation & ReasoningKnowledge Representation & Reasoning
Knowledge Representation & ReasoningSajid Marwat
 
State Space Representation and Search
State Space Representation and SearchState Space Representation and Search
State Space Representation and SearchHitesh Mohapatra
 
Artificial Intelligence Notes Unit 2
Artificial Intelligence Notes Unit 2Artificial Intelligence Notes Unit 2
Artificial Intelligence Notes Unit 2DigiGurukul
 
Problem Formulation in Artificial Inteligence Projects
Problem Formulation in Artificial Inteligence ProjectsProblem Formulation in Artificial Inteligence Projects
Problem Formulation in Artificial Inteligence ProjectsDr. C.V. Suresh Babu
 
Decision Tree Learning
Decision Tree LearningDecision Tree Learning
Decision Tree LearningMilind Gokhale
 
Data Integration and Transformation in Data mining
Data Integration and Transformation in Data miningData Integration and Transformation in Data mining
Data Integration and Transformation in Data miningkavitha muneeshwaran
 

What's hot (20)

Learning in AI
Learning in AILearning in AI
Learning in AI
 
Problems, Problem spaces and Search
Problems, Problem spaces and SearchProblems, Problem spaces and Search
Problems, Problem spaces and Search
 
AI: Learning in AI
AI: Learning in AI AI: Learning in AI
AI: Learning in AI
 
Artificial Intelligence Searching Techniques
Artificial Intelligence Searching TechniquesArtificial Intelligence Searching Techniques
Artificial Intelligence Searching Techniques
 
Ensemble learning
Ensemble learningEnsemble learning
Ensemble learning
 
Control Strategies in AI
Control Strategies in AIControl Strategies in AI
Control Strategies in AI
 
What is knowledge representation and reasoning ?
What is knowledge representation and reasoning ?What is knowledge representation and reasoning ?
What is knowledge representation and reasoning ?
 
Knowledge representation in AI
Knowledge representation in AIKnowledge representation in AI
Knowledge representation in AI
 
Dempster Shafer Theory AI CSE 8th Sem
Dempster Shafer Theory AI CSE 8th SemDempster Shafer Theory AI CSE 8th Sem
Dempster Shafer Theory AI CSE 8th Sem
 
Analytical learning
Analytical learningAnalytical learning
Analytical learning
 
A* Search Algorithm
A* Search AlgorithmA* Search Algorithm
A* Search Algorithm
 
Knowledge Representation & Reasoning
Knowledge Representation & ReasoningKnowledge Representation & Reasoning
Knowledge Representation & Reasoning
 
Predicate logic
 Predicate logic Predicate logic
Predicate logic
 
State Space Representation and Search
State Space Representation and SearchState Space Representation and Search
State Space Representation and Search
 
Reasoning in AI
Reasoning in AIReasoning in AI
Reasoning in AI
 
Planning
Planning Planning
Planning
 
Artificial Intelligence Notes Unit 2
Artificial Intelligence Notes Unit 2Artificial Intelligence Notes Unit 2
Artificial Intelligence Notes Unit 2
 
Problem Formulation in Artificial Inteligence Projects
Problem Formulation in Artificial Inteligence ProjectsProblem Formulation in Artificial Inteligence Projects
Problem Formulation in Artificial Inteligence Projects
 
Decision Tree Learning
Decision Tree LearningDecision Tree Learning
Decision Tree Learning
 
Data Integration and Transformation in Data mining
Data Integration and Transformation in Data miningData Integration and Transformation in Data mining
Data Integration and Transformation in Data mining
 

Similar to Knowledge based agents

pending-1664760315-2 knowledge based agent student.pptx
pending-1664760315-2 knowledge based agent student.pptxpending-1664760315-2 knowledge based agent student.pptx
pending-1664760315-2 knowledge based agent student.pptxkumarkaushal17
 
pending-1664760315-2 knowledge based agent student.pptx
pending-1664760315-2 knowledge based agent student.pptxpending-1664760315-2 knowledge based agent student.pptx
pending-1664760315-2 knowledge based agent student.pptxkumarkaushal17
 
Knowledge based agent
Knowledge based agentKnowledge based agent
Knowledge based agentkamrankhan630
 
Knowledge-Based Agent in Artificial intelligence.pptx
Knowledge-Based Agent in Artificial intelligence.pptxKnowledge-Based Agent in Artificial intelligence.pptx
Knowledge-Based Agent in Artificial intelligence.pptxsuchita74
 
Knowledge Base and AI Agents.pptx
Knowledge Base and AI Agents.pptxKnowledge Base and AI Agents.pptx
Knowledge Base and AI Agents.pptxWaqas Ahmad
 
Ai lecture 01(unit03)
Ai lecture  01(unit03)Ai lecture  01(unit03)
Ai lecture 01(unit03)vikas dhakane
 
Ai lecture 01(unit03)
Ai lecture  01(unit03)Ai lecture  01(unit03)
Ai lecture 01(unit03)vikas dhakane
 
Unit 4 Knowledge Representation.pptx
Unit 4 Knowledge Representation.pptxUnit 4 Knowledge Representation.pptx
Unit 4 Knowledge Representation.pptxDrYogeshDeshmukh1
 
ANSWER SET PROGRAMMING (DLV – CLINGO):CONNECT 4 SOLVER
ANSWER SET PROGRAMMING (DLV – CLINGO):CONNECT 4 SOLVERANSWER SET PROGRAMMING (DLV – CLINGO):CONNECT 4 SOLVER
ANSWER SET PROGRAMMING (DLV – CLINGO):CONNECT 4 SOLVERgerogepatton
 
ANSWER SET PROGRAMMING (DLV – CLINGO):CONNECT 4 SOLVER
ANSWER SET PROGRAMMING (DLV – CLINGO):CONNECT 4 SOLVERANSWER SET PROGRAMMING (DLV – CLINGO):CONNECT 4 SOLVER
ANSWER SET PROGRAMMING (DLV – CLINGO):CONNECT 4 SOLVERijaia
 
Human Emotion Recognition using Machine Learning
Human Emotion Recognition using Machine LearningHuman Emotion Recognition using Machine Learning
Human Emotion Recognition using Machine Learningijtsrd
 
Advanced user agent v clean
Advanced user agent v cleanAdvanced user agent v clean
Advanced user agent v cleanSTIinnsbruck
 
Geert Hofstede model for analysing organizational cultures
Geert Hofstede model for analysing organizational culturesGeert Hofstede model for analysing organizational cultures
Geert Hofstede model for analysing organizational culturesbertvanderlinden
 
measuring organizational culture
measuring organizational culturemeasuring organizational culture
measuring organizational culturebertvanderlinden
 
Organizational Culture MEASURING
Organizational Culture MEASURINGOrganizational Culture MEASURING
Organizational Culture MEASURINGbertvanderlinden
 

Similar to Knowledge based agents (20)

pending-1664760315-2 knowledge based agent student.pptx
pending-1664760315-2 knowledge based agent student.pptxpending-1664760315-2 knowledge based agent student.pptx
pending-1664760315-2 knowledge based agent student.pptx
 
pending-1664760315-2 knowledge based agent student.pptx
pending-1664760315-2 knowledge based agent student.pptxpending-1664760315-2 knowledge based agent student.pptx
pending-1664760315-2 knowledge based agent student.pptx
 
Knowledge based agent
Knowledge based agentKnowledge based agent
Knowledge based agent
 
Knowledge-Based Agent in Artificial intelligence.pptx
Knowledge-Based Agent in Artificial intelligence.pptxKnowledge-Based Agent in Artificial intelligence.pptx
Knowledge-Based Agent in Artificial intelligence.pptx
 
Knowledge representation
Knowledge representationKnowledge representation
Knowledge representation
 
Knowledge Base and AI Agents.pptx
Knowledge Base and AI Agents.pptxKnowledge Base and AI Agents.pptx
Knowledge Base and AI Agents.pptx
 
Ai lecture 01(unit03)
Ai lecture  01(unit03)Ai lecture  01(unit03)
Ai lecture 01(unit03)
 
Ai lecture 01(unit03)
Ai lecture  01(unit03)Ai lecture  01(unit03)
Ai lecture 01(unit03)
 
Unit 4 Knowledge Representation.pptx
Unit 4 Knowledge Representation.pptxUnit 4 Knowledge Representation.pptx
Unit 4 Knowledge Representation.pptx
 
UNIT 2.pdf
UNIT 2.pdfUNIT 2.pdf
UNIT 2.pdf
 
ANSWER SET PROGRAMMING (DLV – CLINGO):CONNECT 4 SOLVER
ANSWER SET PROGRAMMING (DLV – CLINGO):CONNECT 4 SOLVERANSWER SET PROGRAMMING (DLV – CLINGO):CONNECT 4 SOLVER
ANSWER SET PROGRAMMING (DLV – CLINGO):CONNECT 4 SOLVER
 
ANSWER SET PROGRAMMING (DLV – CLINGO):CONNECT 4 SOLVER
ANSWER SET PROGRAMMING (DLV – CLINGO):CONNECT 4 SOLVERANSWER SET PROGRAMMING (DLV – CLINGO):CONNECT 4 SOLVER
ANSWER SET PROGRAMMING (DLV – CLINGO):CONNECT 4 SOLVER
 
Expert system
Expert systemExpert system
Expert system
 
Human Emotion Recognition using Machine Learning
Human Emotion Recognition using Machine LearningHuman Emotion Recognition using Machine Learning
Human Emotion Recognition using Machine Learning
 
Advanced user agent v clean
Advanced user agent v cleanAdvanced user agent v clean
Advanced user agent v clean
 
Geert Hofstede model for analysing organizational cultures
Geert Hofstede model for analysing organizational culturesGeert Hofstede model for analysing organizational cultures
Geert Hofstede model for analysing organizational cultures
 
measuring organizational culture
measuring organizational culturemeasuring organizational culture
measuring organizational culture
 
Organizational Culture MEASURING
Organizational Culture MEASURINGOrganizational Culture MEASURING
Organizational Culture MEASURING
 
Ai assignment
Ai assignmentAi assignment
Ai assignment
 
Lec.10 Dr Ahmed Elngar
Lec.10 Dr Ahmed ElngarLec.10 Dr Ahmed Elngar
Lec.10 Dr Ahmed Elngar
 

More from Dr. C.V. Suresh Babu

More from Dr. C.V. Suresh Babu (20)

Data analytics with R
Data analytics with RData analytics with R
Data analytics with R
 
Association rules
Association rulesAssociation rules
Association rules
 
Clustering
ClusteringClustering
Clustering
 
Classification
ClassificationClassification
Classification
 
Blue property assumptions.
Blue property assumptions.Blue property assumptions.
Blue property assumptions.
 
Introduction to regression
Introduction to regressionIntroduction to regression
Introduction to regression
 
DART
DARTDART
DART
 
Mycin
MycinMycin
Mycin
 
Expert systems
Expert systemsExpert systems
Expert systems
 
Dempster shafer theory
Dempster shafer theoryDempster shafer theory
Dempster shafer theory
 
Bayes network
Bayes networkBayes network
Bayes network
 
Bayes' theorem
Bayes' theoremBayes' theorem
Bayes' theorem
 
Rule based system
Rule based systemRule based system
Rule based system
 
Formal Logic in AI
Formal Logic in AIFormal Logic in AI
Formal Logic in AI
 
Production based system
Production based systemProduction based system
Production based system
 
Game playing in AI
Game playing in AIGame playing in AI
Game playing in AI
 
Diagnosis test of diabetics and hypertension by AI
Diagnosis test of diabetics and hypertension by AIDiagnosis test of diabetics and hypertension by AI
Diagnosis test of diabetics and hypertension by AI
 
A study on “impact of artificial intelligence in covid19 diagnosis”
A study on “impact of artificial intelligence in covid19 diagnosis”A study on “impact of artificial intelligence in covid19 diagnosis”
A study on “impact of artificial intelligence in covid19 diagnosis”
 
A study on “impact of artificial intelligence in covid19 diagnosis”
A study on “impact of artificial intelligence in covid19 diagnosis”A study on “impact of artificial intelligence in covid19 diagnosis”
A study on “impact of artificial intelligence in covid19 diagnosis”
 
A study on “the impact of data analytics in covid 19 health care system”
A study on “the impact of data analytics in covid 19 health care system”A study on “the impact of data analytics in covid 19 health care system”
A study on “the impact of data analytics in covid 19 health care system”
 

Recently uploaded

Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...HostedbyConfluent
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhisoniya singh
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?XfilesPro
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphNeo4j
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2Hyundai Motor Group
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptxLBM Solutions
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 

Recently uploaded (20)

Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptxVulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
 
Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptx
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 

Knowledge based agents

  • 1. Knowledge-Based Agent inArtificial intelligence Dr. C.V. Suresh Babu (CentreforKnowledgeTransfer) institute
  • 2. (CentreforKnowledgeTransfer) institute Introduction • An intelligent agent needs knowledge about the real world for taking decisions and reasoning to act efficiently. https://www.youtube.com/watch?v=E8Ox6H64yu8
  • 3. (CentreforKnowledgeTransfer) institute Introduction  Knowledge-based agents are those agents who have the capability of maintaining an internal state of knowledge, reason over that knowledge, update their knowledge after observations and take actions.  These agents can represent the world with some formal representation and act intelligently.
  • 4. (CentreforKnowledgeTransfer) institute Knowledge-based agents are composed of two main parts: Fig: Foundations of Computational Agents • Knowledge-base and • Inference system
  • 5. (CentreforKnowledgeTransfer) institute Why Knowledge BasedAgents? A knowledge-based agent must able to do the following:  An agent should be able to represent states, actions, etc.  An agent Should be able to incorporate new percepts  An agent can update the internal representation of the world  An agent can deduce the internal representation of the world  An agent can deduce appropriate actions.
  • 6. (CentreforKnowledgeTransfer) institute The architecture of knowledge- based agent: • The knowledge-based agent (KBA) take input from the environment by perceiving the environment. • The input is taken by the inference engine of the agent and which also communicate with KB to decide as per the knowledge store in KB. • The learning element of KBA regularly updates the KB by learning new knowledge. Fig: Representing a generalized architecture for a knowledge-based agent.
  • 7. (CentreforKnowledgeTransfer) institute Knowledge base  Knowledge-base is a central component of a knowledge-based agent, it is also known as KB.  It is a collection of sentences (here 'sentence' is a technical term and it is not identical to sentence in English).  These sentences are expressed in a language which is called a knowledge representation language.  The Knowledge-base of KBA stores fact about the world.
  • 8. (CentreforKnowledgeTransfer) institute Why use a knowledge base?  Knowledge-base is required for updating knowledge for an agent to learn with experiences and take action as per the knowledge.
  • 9. (CentreforKnowledgeTransfer) institute Inference system  Inference means deriving new sentences from old. Inference system allows us to add a new sentence to the knowledge base.  A sentence is a proposition about the world. Inference system applies logical rules to the KB to deduce new information.  Inference system generates new facts so that an agent can update the KB.  An inference system works mainly in two rules which are given as:  Forward chaining  Backward chaining
  • 10. (CentreforKnowledgeTransfer) institute Operations Performed by KBA Following are three operations which are performed by KBA in order to show the intelligent behavior: 1. TELL:This operation tells the knowledge base what it perceives from the environment. 2. ASK:This operation asks the knowledge base what action it should perform. 3. Perform: It performs the selected action.
  • 11. (CentreforKnowledgeTransfer) institute Various levels of knowledge- based agent: A knowledge-based agent can be viewed at different levels which are given below: 1. Knowledge level  Knowledge level is the first level of knowledge-based agent, and in this level, we need to specify what the agent knows, and what the agent goals are.  With these specifications, we can fix its behavior.  For example, suppose an automated taxi agent needs to go from a stationA to station B, and he knows the way from A to B, so this comes at the knowledge level.
  • 12. (CentreforKnowledgeTransfer) institute Various levels of knowledge- based agent: 2. Logical level:  At this level, we understand that how the knowledge representation of knowledge is stored.  At this level, sentences are encoded into different logics.  At the logical level, an encoding of knowledge into logical sentences occurs.  At the logical level we can expect to the automated taxi agent to reach to the destination B.
  • 13. (CentreforKnowledgeTransfer) institute Various levels of knowledge- based agent: 3. Implementation level:  This is the physical representation of logic and knowledge.  At the implementation level agent perform actions as per logical and knowledge level.  At this level, an automated taxi agent actually implement his knowledge and logic so that he can reach to the destination.
  • 14. (CentreforKnowledgeTransfer) institute Approaches to designing a knowledge- based agent There are mainly two approaches to build a knowledge-based agent: 1. Declarative approach: We can create a knowledge-based agent by initializing with an empty knowledge base and telling the agent all the sentences with which we want to start with.This approach is called Declarative approach. 2. Procedural approach: In the procedural approach, we directly encode desired behavior as a program code.Which means we just need to write a program that already encodes the desired behavior or agent.  However, in the real world, a successful agent can be built by combining both declarative and procedural approaches, and declarative knowledge can often be compiled into more efficient procedural code.