Topic To Be Covered:
Levels of Implementation of KBA
Jagdamba Education Society's
SND College of Engineering & Research Centre
Department of Computer Engineering
SUBJECT: Artificial Intelligence & Robotics
Lecture No-02(UNIT-03)
Logic & Reasoning
Prof.Dhakane Vikas N
Levels of Implementation of KBA
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.
 In this level agent know the fact/information about the surrounding
environment in which they are working.
 This level describes the agent by what it knows, i.e. through its knowledge
base. In this level, the information that the agent has, its goals and the
utility are defined.
Levels of Implementation of KBA
1. Knowledge level
 Initial knowledge of knowledge base is called background knowledge.
 Agent at the knowledge level can be viewed as an agent for which one
,only need to specify what the agent knows & what its goal are in order to
specify its behaviour, regardless of how it is to be implemented.
 Example1:A house cleaning agent knows where the mop is and where the
floor is and where the cleaning material like the soap and detergents are
kept. All this is defined in the knowledge level.
 Example:02:suppose an automated taxi agent needs to go from a station A
to station B & He knows that there is Bridge X which connects station A
and Station B.
Levels of Implementation of KBA
2. Logical Level
 In the logical level, the raw and discrete information which is present in
the knowledge level is encoded into sentences.
 This level uses some formal language to represent the knowledge the
agent has.
 There are two types of representation of logic :1)Proposition Logic 2) First
order logic.
 At the logical level, an encoding of knowledge into logical sentences
occurs
 Example: Links(X,A,B)
Levels of Implementation of KBA
3. Implementation Level
 This is the final layer of the knowledge-based agent.
 In the implementation level, the logic which the agent has derived in the
logical level is brought to implementation.
 At the implementation level agent perform actions as per logical and
knowledge level.
Example:01:At this level, an automated taxi agent actually implement his
knowledge and logic so that he can reach to the destination.
Example:02:The cleaning agent after finding the place to clean finally takes
action and cleans the dirt on the floor and as a result, the agent gets clean
floor which is the goal state that the agent is designed to achieve.
Levels of Implementation of KBA
function KB-AGENT(percept):
persistent: KB:a knowledge base t:a counter, initially 0, indicating time
TELL(KB, MAKE-PERCEPT-SENTENCE(percept, t))
Action = ASK(KB, MAKE-ACTION-QUERY(t))
TELL(KB, MAKE-ACTION-SENTENCE(action, t))
t = t + 1
return action
 The MAKE-PERCEPT-SENTENCE generates a sentence as setting that the
agent perceived the given percept at the given time.
 The MAKE-ACTION-QUERY generates a sentence to ask which action
should be done at the current time.
 MAKE-ACTION-SENTENCE generates a sentence which asserts that the
chosen action was executed.
Levels of Implementation of KBA
Following is the structure outline of a generic knowledge-based agents
program:
function KB-AGENT(percept):
persistent: KB:a knowledge base
t:a counter, initially 0, indicating time
TELL(KB, MAKE-PERCEPT-SENTENCE(percept, t))
Action = ASK(KB, MAKE-ACTION-QUERY(t))
TELL(KB, MAKE-ACTION-SENTENCE(action, t))
t = t + 1
return action
 The knowledge-based agent takes percept as input and returns an action
as output.
 The agent maintains the knowledge base, KB, and it initially has some
background knowledge of the real world.
 It also has a counter to indicate the time for the whole process, and this
counter is initialized with zero.
Levels of Implementation of KBA
function KB-AGENT(percept):
persistent: KB:a knowledge base
t:a counter, initially 0, indicating time
TELL(KB, MAKE-PERCEPT-SENTENCE(percept, t))
Action = ASK(KB, MAKE-ACTION-QUERY(t))
TELL(KB, MAKE-ACTION-SENTENCE(action, t))
t = t + 1
return action
Each time when the function is called, it performs its three operations:
Firstly it TELLs the KB what it perceives.
Secondly, it asks KB what action it should take
Third agent program TELLS the KB that which action was chosen.
Ai lecture  02(unit03)
Ai lecture  02(unit03)

More Related Content

PDF
Pinkle Makhijani ,BCA 2nd Year
PDF
Akshay Sharma,BCA,2nd year
PDF
Rakesh Bijawat , BCA Third Year
PDF
Rakesh Bijawat, BCA 2nd Year
PDF
Ronak Kachhawa,BCA 2nd Year
PDF
Aanchal Gupta,BCA 2nd year
PDF
Brijesh Peswani,BCA 2nd Year
PDF
Daksh Sharma ,BCA 2nd Year
Pinkle Makhijani ,BCA 2nd Year
Akshay Sharma,BCA,2nd year
Rakesh Bijawat , BCA Third Year
Rakesh Bijawat, BCA 2nd Year
Ronak Kachhawa,BCA 2nd Year
Aanchal Gupta,BCA 2nd year
Brijesh Peswani,BCA 2nd Year
Daksh Sharma ,BCA 2nd Year

What's hot (20)

PDF
Bhanu Pratap Singh ,BCA
PDF
Deepika Mittal,BCA ,2nd Year
PDF
Shivani Chouhan ,BCA ,2nd Year
PDF
Farhaan Ahmed, BCA 2nd Year
PDF
Reshma Kodwani,BCA,2nd Year
PDF
Deepak Soni,BCA 2nd Year
PDF
Rounit Mathur,BCA 2nd year.
PDF
Rahul Saini, BCA 2nd Year
PDF
Pooja Sharma ,BCA 2nd Year
PDF
Ravi Sharma,BCA 2nd Year
PDF
Gaurav Singh Chouhan, BCA 2nd Year
PDF
Sudarshan Joshi,BCA 2nd Year
PDF
Harendra Singh Rawat,BCA 2nd Year
PDF
Kajal Gaharwal,BCA 2nd Year
PDF
Amit Kumar Yadav ,BCA
PDF
Kaushal Soni,BCA,2nd Year
PDF
Ram Prasad ,BCA 2nd Year
PDF
Kirti Kumawat
PDF
Nikita Totlani ,BCA 2nd year
PDF
Varun Kaushik, BCA 2nd Year
Bhanu Pratap Singh ,BCA
Deepika Mittal,BCA ,2nd Year
Shivani Chouhan ,BCA ,2nd Year
Farhaan Ahmed, BCA 2nd Year
Reshma Kodwani,BCA,2nd Year
Deepak Soni,BCA 2nd Year
Rounit Mathur,BCA 2nd year.
Rahul Saini, BCA 2nd Year
Pooja Sharma ,BCA 2nd Year
Ravi Sharma,BCA 2nd Year
Gaurav Singh Chouhan, BCA 2nd Year
Sudarshan Joshi,BCA 2nd Year
Harendra Singh Rawat,BCA 2nd Year
Kajal Gaharwal,BCA 2nd Year
Amit Kumar Yadav ,BCA
Kaushal Soni,BCA,2nd Year
Ram Prasad ,BCA 2nd Year
Kirti Kumawat
Nikita Totlani ,BCA 2nd year
Varun Kaushik, BCA 2nd Year
Ad

Similar to Ai lecture 02(unit03) (19)

PPTX
Knowledge based agents
PPTX
Ch-I-Moduddddddddddddddddddddddddddddddddddddle-III.pptx
PPTX
Knowledge based agent
PPTX
pending-1664760315-2 knowledge based agent student.pptx
PPTX
pending-1664760315-2 knowledge based agent student.pptx
PPTX
Unit 4 Knowledge Representation.pptx
PPTX
Knowledge-Based agent and representation.pptx
PPTX
Presentation of iot for artificial intelligence specialization
PPTX
Ai lecture 01(unit03)
PDF
Ai lecture 01(unit03)
PPT
Chapter3vmgvvh,vh,vvj,vdjvdsjvhdsvhgkvdd
PPTX
Knowledge representation
PPTX
W2_Lec03_Lec04_Agents.pptx
PPTX
Logical Agents-Artificial intelligence12
PPTX
Unit-III.pptx
PPTX
Unit 2-KSK.pptx Introduction to Data Structures and Algorithms
PPTX
Artificial_Intellgence[1].pptxDatabase Management Systems.pptx
PPTX
Introduction to the TYPES OF AGENTS _ AIML
PDF
Chapter intelligence system knowledge base 1.pdf
Knowledge based agents
Ch-I-Moduddddddddddddddddddddddddddddddddddddle-III.pptx
Knowledge based agent
pending-1664760315-2 knowledge based agent student.pptx
pending-1664760315-2 knowledge based agent student.pptx
Unit 4 Knowledge Representation.pptx
Knowledge-Based agent and representation.pptx
Presentation of iot for artificial intelligence specialization
Ai lecture 01(unit03)
Ai lecture 01(unit03)
Chapter3vmgvvh,vh,vvj,vdjvdsjvhdsvhgkvdd
Knowledge representation
W2_Lec03_Lec04_Agents.pptx
Logical Agents-Artificial intelligence12
Unit-III.pptx
Unit 2-KSK.pptx Introduction to Data Structures and Algorithms
Artificial_Intellgence[1].pptxDatabase Management Systems.pptx
Introduction to the TYPES OF AGENTS _ AIML
Chapter intelligence system knowledge base 1.pdf
Ad

More from vikas dhakane (20)

PDF
Ai lecture 14(unit03)
PPTX
Ai lecture 13(unit03)
PDF
Ai lecture 13(unit03)
PPTX
Ai lecture 12(unit03)
PDF
Ai lecture 12(unit03)
PPTX
Ai lecture 11(unit03)
PDF
Ai lecture 11(unit03)
PPTX
Ai lecture 10(unit03)
PDF
Ai lecture 10(unit03)
PDF
Ai lecture 09(unit03)
PDF
Ai lecture 07(unit03)
PPTX
Ai lecture 05(unit03)
PDF
Ai lecture 05(unit03)
PPTX
Ai lecture 04(unit03)
PDF
Ai lecture 04(unit03)
PPTX
Ai lecture 03(unit03)
PDF
Ai lecture 03(unit03)
PPTX
Ai lecture 003(unit03)
PDF
Ai lecture 003(unit03)
PDF
Ai lecture 02(unit03)
Ai lecture 14(unit03)
Ai lecture 13(unit03)
Ai lecture 13(unit03)
Ai lecture 12(unit03)
Ai lecture 12(unit03)
Ai lecture 11(unit03)
Ai lecture 11(unit03)
Ai lecture 10(unit03)
Ai lecture 10(unit03)
Ai lecture 09(unit03)
Ai lecture 07(unit03)
Ai lecture 05(unit03)
Ai lecture 05(unit03)
Ai lecture 04(unit03)
Ai lecture 04(unit03)
Ai lecture 03(unit03)
Ai lecture 03(unit03)
Ai lecture 003(unit03)
Ai lecture 003(unit03)
Ai lecture 02(unit03)

Recently uploaded (20)

PDF
A SYSTEMATIC REVIEW OF APPLICATIONS IN FRAUD DETECTION
PDF
BIO-INSPIRED HORMONAL MODULATION AND ADAPTIVE ORCHESTRATION IN S-AI-GPT
PDF
SMART SIGNAL TIMING FOR URBAN INTERSECTIONS USING REAL-TIME VEHICLE DETECTI...
PDF
August -2025_Top10 Read_Articles_ijait.pdf
PPTX
Fundamentals of safety and accident prevention -final (1).pptx
PDF
UNIT no 1 INTRODUCTION TO DBMS NOTES.pdf
PPTX
tack Data Structure with Array and Linked List Implementation, Push and Pop O...
PPTX
6ME3A-Unit-II-Sensors and Actuators_Handouts.pptx
PPTX
Amdahl’s law is explained in the above power point presentations
PDF
Design Guidelines and solutions for Plastics parts
PDF
EXPLORING LEARNING ENGAGEMENT FACTORS INFLUENCING BEHAVIORAL, COGNITIVE, AND ...
PPTX
Management Information system : MIS-e-Business Systems.pptx
PPTX
CURRICULAM DESIGN engineering FOR CSE 2025.pptx
PDF
Visual Aids for Exploratory Data Analysis.pdf
PDF
null (2) bgfbg bfgb bfgb fbfg bfbgf b.pdf
PPTX
Software Engineering and software moduleing
PPTX
AUTOMOTIVE ENGINE MANAGEMENT (MECHATRONICS).pptx
PDF
Influence of Green Infrastructure on Residents’ Endorsement of the New Ecolog...
PPTX
Module 8- Technological and Communication Skills.pptx
PPTX
Feature types and data preprocessing steps
A SYSTEMATIC REVIEW OF APPLICATIONS IN FRAUD DETECTION
BIO-INSPIRED HORMONAL MODULATION AND ADAPTIVE ORCHESTRATION IN S-AI-GPT
SMART SIGNAL TIMING FOR URBAN INTERSECTIONS USING REAL-TIME VEHICLE DETECTI...
August -2025_Top10 Read_Articles_ijait.pdf
Fundamentals of safety and accident prevention -final (1).pptx
UNIT no 1 INTRODUCTION TO DBMS NOTES.pdf
tack Data Structure with Array and Linked List Implementation, Push and Pop O...
6ME3A-Unit-II-Sensors and Actuators_Handouts.pptx
Amdahl’s law is explained in the above power point presentations
Design Guidelines and solutions for Plastics parts
EXPLORING LEARNING ENGAGEMENT FACTORS INFLUENCING BEHAVIORAL, COGNITIVE, AND ...
Management Information system : MIS-e-Business Systems.pptx
CURRICULAM DESIGN engineering FOR CSE 2025.pptx
Visual Aids for Exploratory Data Analysis.pdf
null (2) bgfbg bfgb bfgb fbfg bfbgf b.pdf
Software Engineering and software moduleing
AUTOMOTIVE ENGINE MANAGEMENT (MECHATRONICS).pptx
Influence of Green Infrastructure on Residents’ Endorsement of the New Ecolog...
Module 8- Technological and Communication Skills.pptx
Feature types and data preprocessing steps

Ai lecture 02(unit03)

  • 1. Topic To Be Covered: Levels of Implementation of KBA Jagdamba Education Society's SND College of Engineering & Research Centre Department of Computer Engineering SUBJECT: Artificial Intelligence & Robotics Lecture No-02(UNIT-03) Logic & Reasoning Prof.Dhakane Vikas N
  • 2. Levels of Implementation of KBA 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.  In this level agent know the fact/information about the surrounding environment in which they are working.  This level describes the agent by what it knows, i.e. through its knowledge base. In this level, the information that the agent has, its goals and the utility are defined.
  • 3. Levels of Implementation of KBA 1. Knowledge level  Initial knowledge of knowledge base is called background knowledge.  Agent at the knowledge level can be viewed as an agent for which one ,only need to specify what the agent knows & what its goal are in order to specify its behaviour, regardless of how it is to be implemented.  Example1:A house cleaning agent knows where the mop is and where the floor is and where the cleaning material like the soap and detergents are kept. All this is defined in the knowledge level.  Example:02:suppose an automated taxi agent needs to go from a station A to station B & He knows that there is Bridge X which connects station A and Station B.
  • 4. Levels of Implementation of KBA 2. Logical Level  In the logical level, the raw and discrete information which is present in the knowledge level is encoded into sentences.  This level uses some formal language to represent the knowledge the agent has.  There are two types of representation of logic :1)Proposition Logic 2) First order logic.  At the logical level, an encoding of knowledge into logical sentences occurs  Example: Links(X,A,B)
  • 5. Levels of Implementation of KBA 3. Implementation Level  This is the final layer of the knowledge-based agent.  In the implementation level, the logic which the agent has derived in the logical level is brought to implementation.  At the implementation level agent perform actions as per logical and knowledge level. Example:01:At this level, an automated taxi agent actually implement his knowledge and logic so that he can reach to the destination. Example:02:The cleaning agent after finding the place to clean finally takes action and cleans the dirt on the floor and as a result, the agent gets clean floor which is the goal state that the agent is designed to achieve.
  • 6. Levels of Implementation of KBA function KB-AGENT(percept): persistent: KB:a knowledge base t:a counter, initially 0, indicating time TELL(KB, MAKE-PERCEPT-SENTENCE(percept, t)) Action = ASK(KB, MAKE-ACTION-QUERY(t)) TELL(KB, MAKE-ACTION-SENTENCE(action, t)) t = t + 1 return action  The MAKE-PERCEPT-SENTENCE generates a sentence as setting that the agent perceived the given percept at the given time.  The MAKE-ACTION-QUERY generates a sentence to ask which action should be done at the current time.  MAKE-ACTION-SENTENCE generates a sentence which asserts that the chosen action was executed.
  • 7. Levels of Implementation of KBA Following is the structure outline of a generic knowledge-based agents program: function KB-AGENT(percept): persistent: KB:a knowledge base t:a counter, initially 0, indicating time TELL(KB, MAKE-PERCEPT-SENTENCE(percept, t)) Action = ASK(KB, MAKE-ACTION-QUERY(t)) TELL(KB, MAKE-ACTION-SENTENCE(action, t)) t = t + 1 return action  The knowledge-based agent takes percept as input and returns an action as output.  The agent maintains the knowledge base, KB, and it initially has some background knowledge of the real world.  It also has a counter to indicate the time for the whole process, and this counter is initialized with zero.
  • 8. Levels of Implementation of KBA function KB-AGENT(percept): persistent: KB:a knowledge base t:a counter, initially 0, indicating time TELL(KB, MAKE-PERCEPT-SENTENCE(percept, t)) Action = ASK(KB, MAKE-ACTION-QUERY(t)) TELL(KB, MAKE-ACTION-SENTENCE(action, t)) t = t + 1 return action Each time when the function is called, it performs its three operations: Firstly it TELLs the KB what it perceives. Secondly, it asks KB what action it should take Third agent program TELLS the KB that which action was chosen.