« Return to Thread: Learn.aiml

Learn.aiml

by Square Bear-2 :: Rate this Message:

Reply to Author | View in Thread

Some parts of this message have been removed. Learn more about Nabble's security policy.
I've started to write a file that will allow users to teach your bot new facts rather than just correcting its replies using badanswer.aiml. The user should say LEARN then the fact. For example:
 
Human: Learn the sun is hot
Bot: Ok I will learn that the sun is hot.
 
Human: Learn London is in England
Bot: Ok I will learn that London is in England.
 
Human: Learn a cat has four legs.
Bot: Ok I will learn that a cat has 4 legs.
 
Human: What has 4 legs?
Bot: a cat.
 
Human: What is the sun
Bot: hot.
 
Human: Learn the sun is hot and yellow
Bot: Ok I will learn that the sun is hot and yellow.
 
Human: What is hot and yellow
Bot: the sun.
 
Human: What is the sun
Bot: hot and yellow.
 
Human: Where is London
Bot: in England.
 
Human: What is in England
Bot: London.
 
Human: Learn Dr Wallace is an AI expert
Bot: Ok I will learn that Dr Wallace is an AI expert.
 
Human: What is an AI expert
Bot: Dr Wallace.
 
Human: Who is an AI expert
Bot: Dr Wallace.
 
Human: Who is Dr Wallace
Bot: an AI expert.
 
Human: What is hot
Bot: the sun.
 
Human: What has a cat?
Bot: 4 legs.
 
I will update this file to cover more complicated knowledge such as "Learn the 2012 Olympic Games will be held in London", "Where will the 2012 Olympic Games be?".
The current version of the file is available, along with all my other public AIML files at: http://square-bear.co.uk/aiml
Feel free to use it in your bots.
 
Regards
- Steve Worswick (Square Bear)
http://www.square-bear.co.uk

_______________________________________________
This is the pandorabots-general mailing list
To Post, reply to pandorabots-general@...
Unsubscribe and change preferences at http://list.pandorabots.com/mailman/listinfo/pandorabots-general
Learn netiquette at http://www.dtcc.edu/cs/rfc1855.html
Learn to read at http://www.literacy.org/

 « Return to Thread: Learn.aiml