AIML

AIML, or Artificial Intelligence Mark-up Language is an XML-based programming language. It was designed specifically to aid in the creation of the A.L.I.C.E. chatterbot. Although broadly described, the language is specialised to the creation of natural language software agents, known as Alicebots.

Contents

Background

The programming language of AIML was developed by Dr. Richard Wallace and the Alicebot free software community between the years of 1995 and 2000. It formed the basis for the initial Alicebot, A.L.I.C.E., which has now won the annual Loebner Prize Contest for Most Human Computer three times, and is also currently the Chatterbot Challenge Champion (2004). Since its introduction to the internet, due to AIML and the Alicebot programs being open-source, many thousands of Alicebot 'clones' have been created based upon the original implementation of the program and its AIML knowledge-base. The development of AIML continues, and recently witnessed the release of the Annotated ALICE AIML set in the fall of 2004. The current most active implementation is Pandorabots.com, an online bot hosting and development company which provides free hosting for their Program Z Alicebots.

Elements of AIML

AIML contains several elements. The most important of these are described in further detail below.

Categories

Categories in AIML are the fundamental unit of knowledge. A category consists of at least two further elements. These are the pattern and template elements, which are usually coded in that order. However, this is not a necessary programming syntax.

Patterns

Alicebots are generally described as 'pattern-matching' chatbots. This means that the program will search for patterns within a user's input and respond accordingly. The pattern element defines the pattern that will be searched for, hence its name.

Template

If a pattern within a category is matched successfully and it is the most accurate pattern that can be matched, then the category-specific template is applied to the chatbots response. This template can contain other AIML elements, which allow automated customisation of the chatbot's response. For example:

  • The user's input can become part of the chatbot's response. For example:
   Human: Are you smarter than Hal 9000?
   ALICE: Of course I am more intelligent than Hal 9000.
  • To make the responses seem more human-like, they can be randomly selected from a preset list of possible response. For example:
   Human: What is Wikipedia?
   ALICE: That's a good question.
   Human: What is Wikipedia?
   ALICE: I don't know anything about it.
   Human: What is Wikipedia?
   ALICE: I have to process that one for a while.

External Links

Official Resources

  1. The A.L.I.C.E. Artificial Intelligence Foundation (http://www.alicebot.org)
  2. Further AIML Code Examples  (http://www.alicebot.org/aiml.html)

Examples of Popular Online Alicebots

  1. The Original A.L.I.C.E. (http://www.pandorabots.com/pandora/talk?botid=f5d922d97e345aa1)
  2. Dawnstar (http://www.pandorabots.com/pandora/talk?botid=c1776ae8ce354d1f)
  3. The Electronic Brain Community - Artificial Intelligence Bot (http://www.electronicbrain.evemail.net/aibot.htm)
  4. Ailysse (http://www.pandorabots.com/pandora/talk?botid=829713883e34f760)
  5. Lilith (http://www.pandorabots.com/pandora/talk?botid=b9b96b247e34f4f2)
  6. Foxy Botachelli: Webchat Girl (http://atecit.dyndns.org/?template=foxysmall)
  7. Talk to William Shakespeare (http://www.shakespearebot.com)
  8. Talk to William Shakespeare (http://www.shakespearebot.com)

AIML Communities & Alicebot Directories

  1. A.I.Nexus:A Showcase for Alicebots on the Web (http://www.knytetrypper.com/ain.html)
  2. The AIML Scripting Resource (http://www.AIML.info)de:Artificial Intelligence Markup Language
Navigation

  • Art and Cultures
    • Art (https://academickids.com/encyclopedia/index.php/Art)
    • Architecture (https://academickids.com/encyclopedia/index.php/Architecture)
    • Cultures (https://www.academickids.com/encyclopedia/index.php/Cultures)
    • Music (https://www.academickids.com/encyclopedia/index.php/Music)
    • Musical Instruments (http://academickids.com/encyclopedia/index.php/List_of_musical_instruments)
  • Biographies (http://www.academickids.com/encyclopedia/index.php/Biographies)
  • Clipart (http://www.academickids.com/encyclopedia/index.php/Clipart)
  • Geography (http://www.academickids.com/encyclopedia/index.php/Geography)
    • Countries of the World (http://www.academickids.com/encyclopedia/index.php/Countries)
    • Maps (http://www.academickids.com/encyclopedia/index.php/Maps)
    • Flags (http://www.academickids.com/encyclopedia/index.php/Flags)
    • Continents (http://www.academickids.com/encyclopedia/index.php/Continents)
  • History (http://www.academickids.com/encyclopedia/index.php/History)
    • Ancient Civilizations (http://www.academickids.com/encyclopedia/index.php/Ancient_Civilizations)
    • Industrial Revolution (http://www.academickids.com/encyclopedia/index.php/Industrial_Revolution)
    • Middle Ages (http://www.academickids.com/encyclopedia/index.php/Middle_Ages)
    • Prehistory (http://www.academickids.com/encyclopedia/index.php/Prehistory)
    • Renaissance (http://www.academickids.com/encyclopedia/index.php/Renaissance)
    • Timelines (http://www.academickids.com/encyclopedia/index.php/Timelines)
    • United States (http://www.academickids.com/encyclopedia/index.php/United_States)
    • Wars (http://www.academickids.com/encyclopedia/index.php/Wars)
    • World History (http://www.academickids.com/encyclopedia/index.php/History_of_the_world)
  • Human Body (http://www.academickids.com/encyclopedia/index.php/Human_Body)
  • Mathematics (http://www.academickids.com/encyclopedia/index.php/Mathematics)
  • Reference (http://www.academickids.com/encyclopedia/index.php/Reference)
  • Science (http://www.academickids.com/encyclopedia/index.php/Science)
    • Animals (http://www.academickids.com/encyclopedia/index.php/Animals)
    • Aviation (http://www.academickids.com/encyclopedia/index.php/Aviation)
    • Dinosaurs (http://www.academickids.com/encyclopedia/index.php/Dinosaurs)
    • Earth (http://www.academickids.com/encyclopedia/index.php/Earth)
    • Inventions (http://www.academickids.com/encyclopedia/index.php/Inventions)
    • Physical Science (http://www.academickids.com/encyclopedia/index.php/Physical_Science)
    • Plants (http://www.academickids.com/encyclopedia/index.php/Plants)
    • Scientists (http://www.academickids.com/encyclopedia/index.php/Scientists)
  • Social Studies (http://www.academickids.com/encyclopedia/index.php/Social_Studies)
    • Anthropology (http://www.academickids.com/encyclopedia/index.php/Anthropology)
    • Economics (http://www.academickids.com/encyclopedia/index.php/Economics)
    • Government (http://www.academickids.com/encyclopedia/index.php/Government)
    • Religion (http://www.academickids.com/encyclopedia/index.php/Religion)
    • Holidays (http://www.academickids.com/encyclopedia/index.php/Holidays)
  • Space and Astronomy
    • Solar System (http://www.academickids.com/encyclopedia/index.php/Solar_System)
    • Planets (http://www.academickids.com/encyclopedia/index.php/Planets)
  • Sports (http://www.academickids.com/encyclopedia/index.php/Sports)
  • Timelines (http://www.academickids.com/encyclopedia/index.php/Timelines)
  • Weather (http://www.academickids.com/encyclopedia/index.php/Weather)
  • US States (http://www.academickids.com/encyclopedia/index.php/US_States)

Information

  • Home Page (http://academickids.com/encyclopedia/index.php)
  • Contact Us (http://www.academickids.com/encyclopedia/index.php/Contactus)

  • Clip Art (http://classroomclipart.com)
Toolbox
Personal tools