Professional Documents
Culture Documents
Ruta Mehta
Mugdha Jain
Welcome to the Jeetendra Mirchandani
world of living
people and artificial
intelligence entities
called bots!
Questions We’ll Answer
A Chat Bot…
What is it? Who wants it? Why?
Since when is it around?
How does it work?
How do you test it?
Can it answer all my questions?
Can I make one of my own?
Where can I put it to work?
Introduction
Responder
AIML Interpreter
AIML Objects
A Chat Bot
Knowledge Representation
Types of AIML objects
– Topics
– Categories
E.g. :
<aiml>
<topic name=“the topic” >
<category>
<pattern>PATTERN</pattern>
<that>THAT</that>
<template>TEMPLATE</template>
</category>
</topic>
</aiml>
Example AIML Object
Conversation:
<category>
<pattern>10 DOLLARS</pattern>
<template> wow, what a cheap </template>
</category>
_ What is 2 and 2
</sr>
<srai> WHAT IS 2 AND 2 </srai>
HALO
WHAT IS 2 AND *
HELLO
WHAT IS 2 *
Well hello there!
Hi there! Two
Hi there. I was just Four
wanting to talk. Six
Hello there ! 12
yes
Search sub-graph Try all remaining
Node-mapper yes
rooted at child suffixes of input Match?
Contains ‘_’?
node linked by ‘_’ following ‘X’
no
no
Search sub-graph
Node-mapper yes rooted at child yes
Match?
Contains ‘X’? node linked by ‘X’
using input ‘tail’
no no