What is AIML?
Foundation Bot Directory
Bot Industry Survey
AIML Overview
Downloads
Bot Hosting
AIML Sets
AIML Working Draft
Documentation
Superbot - New!
ESL
Books
Film and TV
Recent Press
Popular Culture
Web Ontologies
ALICE and A.I. History
Scholarly Research and Teaching
News
Articles
News Archive
ALICE Mailing Lists
Consulting and Training
ALICE Brain Picture Gallery
AIML Bots
AIML Spinoffs
Non-AIML Bots
Chat Robot Patents
Chat Robot Communities
The Loebner Prize
The Chatterbox Challenge
Robitron Discussion
Alicebot
Botworld
AI Nexus Forum
AI Dreams Forum
Botmasters Frappr!
Chatbot Hub Forums
Virtual Humans Forum
Last Revised May 12, 2005
The tags in this table correspond to the set of AIML implemented by the Pandorabots AIML interpeter. These are not exactly the same set of AIML tags adopted by the AIML Architecture committee for the Artificial Intelligence Markup Language (AIML) Version 1.0.1 A.L.I.C.E. AI Foundation Working Draft, 18 February 2005 (rev 007). For comparison see the table of AIML 1.0.1 tags at alicebot.org. This table, however, refers to that document where appropriate.
There are both small and large differences between the Pandorabots tag set and the AIML standard. In particular, there is no <size/>, <version/>, <gossip>, <system>, or <javascript> tag in Pandorabots, and the interpretation of the <learn> tag is quite different.
Other documents useful for understanding the Pandorabots AIML tags include:
In the table, XML tags are shown in a shorthand notation. Closing tags are not shown. The index attribute whenever it appears is optional. The default value is index="1" (or index="1,1" for 2-d indexes). The index tag uses offset one indexing.
| AIML Tag | WD Reference | Remark | |
| <aiml> | 3.2. AIML Element | AIML block delimeter | |
| <topic name="X"> | 4. Topic | X is AIML pattern | |
| <category> | 5. Category | AIML knowledge unit | |
| <pattern> | 6. Pattern | AIML input pattern | |
| <that> | 6.1. Pattern-side That | contains AIML pattern | |
| <template> | 7. Template | AIML response template | |
| <star index="N"/> | 7.1.1. Star | binding of * | |
| <that index="M,N"/> | 7.1.2. Template-side That | previous bot utterance | |
| <input index="N"/> | 7.1.3. Input | input sentence | |
| <thatstar index="N"/> | 7.1.4. Thatstar | binding of * in that | |
| <topicstar index="N"/> | 7.1.5. Topicstar | binding of * in topic | |
| <get name="XXX"/> | 7.1.6. Get | Botmaster defined XXX, default | |
| <bot name="XXX"/> | 7.1.6.1. Bot | Custom bot parameter | |
| <sr/> | 7.1.7. Short-cut elements | <srai><star/></srai> | |
| <person2/> | 7.1.7. Short-cut elements | <person2><star/></person2> | |
| <person/> | 7.1.7. Short-cut elements | <person><star/></person> | |
| <gender/> | 7.1.7. Short-cut elements | <gender><star/></gender> | |
| <id/> | 7.1.8. System-defined predicates | client identifer | |
| <uppercase> | 7.2.1. Uppercase | convert all text to Uppercase | |
| <lowercase> | 7.2.2. Lowercase | convert all text to Lowercase | |
| <formal> | 7.2.3. Formal | capitalize every word | |
| <condition name="X" value="Y"> | 7.3.1. Condition | One shot branch | |
| <condition name="X"> | 7.3.1. Condition | Multi-way branch | |
| <condition > | 7.3.1. Condition | Multi-way multi-predicate branch | |
| <li name="X" value="Y"> | 7.3.1. Condition | used by <condition> | |
| <li value="Y"> | 7.3.1. Condition | used by <condition> | |
| <li> | 7.3.2. Random | used by <random>,<condition> | |
| <random> | 7.3.2. Random | Random uniform selection | |
| <set name="XXX"> | 7.4.1. Set | May return XXX or value | |
| <srai> | 7.5.1. SRAI | Recursion | |
| <person2> | 7.6.1. Person2 | swap 1st & 3rd person | |
| <person> | 7.6.2. Person | swap 1st & 2nd person | |
| <gender> | 7.6.3. Gender | change gender pronouns | |
| <think> | 7.7.1. Think | Hides side-effects | |
| Pandorabots Extension | Purpose | Remark | |
| <condition name="X" value="*"> | Branch with undefined value | One shot branch | |
| <li name="X" value="*"> | Branch with undefined value | used by <condition> | |
| <li value="*"> | Branch with undefined value | used by <condition> | |
| <date locale="X" timezone="Y" format="Z"/> | date and time | Unix strftime format | |
| <that index="M,*"/> | previous bot utterances | multi-sentence | |
| <request index="N"/> | input request | multi-sentence | |
| <response index="N"/> | output response | multi-sentence | |
| <learn> | save AIML category | non standard | |
| <eval> | AIML evaluation | expression inside <learn> |
This A. I. Foundation document is made possible through the generous support of members like you. Thanks to Dirk Scheuring for submitting editorial corrections.
Copyright © A.L.I.C.E. AI Foundation, Inc.
A.L.I.C.E. Silver Edition
DAVE E.S.L. Bot
CLAUDIO Personality Test
Robot-Hosting.com
Pandorabots.com
Oddcast VHosts
Wikipedia
Virtual Humans
Open Directory
Agentland.com
Chatterbot Collection
The Simon Laven Page