<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://debianws.lexgopc.com/wiki1463/index.php?action=history&amp;feed=atom&amp;title=Artificial_Intelligence_Markup_Language</id>
	<title>Artificial Intelligence Markup Language - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://debianws.lexgopc.com/wiki1463/index.php?action=history&amp;feed=atom&amp;title=Artificial_Intelligence_Markup_Language"/>
	<link rel="alternate" type="text/html" href="http://debianws.lexgopc.com/wiki1463/index.php?title=Artificial_Intelligence_Markup_Language&amp;action=history"/>
	<updated>2026-12-04T03:48:37Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.46.3</generator>
	<entry>
		<id>http://debianws.lexgopc.com/wiki1463/index.php?title=Artificial_Intelligence_Markup_Language&amp;diff=30994&amp;oldid=prev</id>
		<title>imported&gt;ClueBot NG: Reverting possible vandalism by ~2026-39832-30 to version by Jessicapierce. Report False Positive? Thanks, ClueBot NG. (4542097) (Bot)</title>
		<link rel="alternate" type="text/html" href="http://debianws.lexgopc.com/wiki1463/index.php?title=Artificial_Intelligence_Markup_Language&amp;diff=30994&amp;oldid=prev"/>
		<updated>2026-07-15T09:50:38Z</updated>

		<summary type="html">&lt;p&gt;Reverting possible vandalism by &lt;a href=&quot;/wiki1463/index.php?title=Special:Contributions/~2026-39832-30&quot; title=&quot;Special:Contributions/~2026-39832-30&quot;&gt;~2026-39832-30&lt;/a&gt; to version by Jessicapierce. &lt;a href=&quot;/wiki1463/index.php?title=WP:CBFP&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;WP:CBFP (page does not exist)&quot;&gt;Report False Positive?&lt;/a&gt; Thanks, &lt;a href=&quot;/wiki1463/index.php?title=WP:CBNG&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;WP:CBNG (page does not exist)&quot;&gt;ClueBot NG&lt;/a&gt;. (4542097) (Bot)&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Short description|Type of XML dialect}}&lt;br /&gt;
{{about|a computer language|the research institute in Adelaide|Australian Institute for Machine Learning}}&lt;br /&gt;
{{primary sources|date=March 2017}}&lt;br /&gt;
{{Infobox file format&lt;br /&gt;
| name          = Artificial Intelligence Markup Language&lt;br /&gt;
| icon          = AILM logo.svg&lt;br /&gt;
| icon_size     = 100px&lt;br /&gt;
| logo          = &lt;br /&gt;
| screenshot    = &lt;br /&gt;
| caption       = &lt;br /&gt;
| extension     = &amp;lt;code&amp;gt;.aiml&amp;lt;/code&amp;gt;&lt;br /&gt;
| mime          = &lt;br /&gt;
| type code     = &lt;br /&gt;
| uniform type  = &lt;br /&gt;
| magic         = &lt;br /&gt;
| owner         = [[Richard Wallace (scientist)|Dr. Richard S. Wallace]]&lt;br /&gt;
| released      = {{Start date and age|2001|07|16}} &amp;lt;ref&amp;gt;{{cite web |title=Press Release: AIML 1.0 Standard Passed (A.L.I.C.E. AI Foundation) |url=http://www.alicebot.org:80/press_releases/2001/aiml10.html |website=alicebot.org |access-date=1 December 2013 |archive-url=https://web.archive.org/web/20070715113602/http://www.alicebot.org/press_releases/2001/aiml10.html |archive-date=15 July 2007 |location=San Francisco CA |language=en |date=16 July 2001}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
| latest release version = 2.1&amp;lt;ref name=&amp;quot;docs&amp;quot;&amp;gt;{{cite web |title=AIML 2.1 (AIML Foundation) |url=http://www.aiml.foundation/doc.html |website=aiml.foundation/ |access-date=2022-06-11 |archive-url=https://web.archive.org/web/20190514124117/http://www.aiml.foundation/doc.html |archive-date=14 May 2019 |url-status=live}}&amp;lt;/ref&amp;gt; (rev 1.0.2.22 {{citation needed| date=June 2022}})&lt;br /&gt;
| latest release date = {{Start date and age|2018|06|20}} &amp;lt;ref name=&amp;quot;docs&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;!-- Not supported in this infobox&lt;br /&gt;
| latest preview version = 2.0&lt;br /&gt;
| latest preview date    = {{Start date and age|2013|10|31}} &amp;lt;ref&amp;gt;{{cite web |last1=Wallace |first1=Richard S. |title=AIML 2.0 Working Draft |url=https://docs.google.com/document/d/1wNT25hJRyupcG51aO89UcQEiG-HkXRXusukADpFnDs4/pub |website=docs.google.com |publisher=ALICE A.I. Foundation |access-date=1 December 2013 |language=en}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
--&amp;gt;| genre         = [[Artificial intelligence]]&lt;br /&gt;
| container for = &lt;br /&gt;
| contained by  = &lt;br /&gt;
| extended from = [[XML]]&lt;br /&gt;
| extended to   = &lt;br /&gt;
| open          = Yes&lt;br /&gt;
| standard      = &lt;br /&gt;
| url           = {{official URL}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Artificial Intelligence Markup Language&amp;#039;&amp;#039;&amp;#039; (&amp;#039;&amp;#039;&amp;#039;AIML&amp;#039;&amp;#039;&amp;#039;) is an [[XML]] dialect for creating [[natural language]] software agents.&lt;br /&gt;
&lt;br /&gt;
== History ==&lt;br /&gt;
The &amp;#039;&amp;#039;&amp;#039;XML dialect&amp;#039;&amp;#039;&amp;#039; called AIML was developed by [[Richard Wallace (scientist)|Richard Wallace]] and a worldwide [[free software community]] between 1995{{Citation needed|date=March 2016}} and 2002. AIML formed the basis for what was initially a highly extended [[ELIZA|Eliza]] called &amp;quot;[[Artificial Linguistic Internet Computer Entity|A.L.I.C.E.]]&amp;quot; (&amp;quot;Artificial Linguistic Internet Computer Entity&amp;quot;), which won the annual [[Loebner Prize|Loebner Prize Competition in Artificial Intelligence]]&amp;lt;ref&amp;gt;{{cite web |title=loebner.net - Informationen zum Thema loebner. |url=http://www.loebner.net/Prizef/loebner-prize.html |website=loebner.net |access-date=10 November 2010 |archive-url=https://web.archive.org/web/20101230195120/http://www.loebner.net/Prizef/loebner-prize.html |archive-date=30 December 2010 |date=26 October 2007}}&amp;lt;/ref&amp;gt; three times, and was also the Chatterbox Challenge&amp;lt;ref&amp;gt;{{cite web |title=Chatterbox Challenge |url=http://www.chatterboxchallenge.com/ |website=chatterboxchallenge.com |access-date=10 November 2010 |archive-url=https://web.archive.org/web/20060325195507/http://www.chatterboxchallenge.com/ |archive-date=25 March 2006 |url-status=dead}}&amp;lt;/ref&amp;gt; Champion in 2004.&lt;br /&gt;
&lt;br /&gt;
Because the A.L.I.C.E. AIML set was released under the [[GNU General Public License|GPL]], and because most AIML interpreters are offered under a [[Free Software|free]] or [[open source license]], many &amp;quot;Alicebot clones&amp;quot; have been created based upon the original implementation of the program and its AIML knowledge base. Free AIML sets&amp;lt;ref&amp;gt;{{cite web |title=Free AIML sets - aitoold.org |url=http://aitools.org/Free_AIML_sets |website=aitools.org |archive-url=https://web.archive.org/web/20061009222437/http://aitools.org/Free_AIML_sets |archive-date=9 October 2006 |date=17 May 2006}}&amp;lt;/ref&amp;gt; in several languages have been developed and made available by the user community. There are AIML interpreters available in [[Java (programming language)|Java]], [[Ruby programming language|Ruby]], [[Python (programming language)|Python]], [[C++]], [[C Sharp (programming language)|C#]], [[Pascal programming language|Pascal]], and other languages (see [[#Free .2F Open Source AIML Implementations|below]] {{dead link|date=June 2020}}).&lt;br /&gt;
A semi-formal specification&amp;lt;ref name=&amp;quot;specs&amp;quot;&amp;gt;{{cite web |title=AIML 1.0.1 (A.L.I.C.E. AI Foundation) |url=http://www.alicebot.org:80/TR/2011/ |website=alicebot.org |access-date=1 December 2013 |archive-url=https://web.archive.org/web/20131118214101/http://www.alicebot.org/TR/2011/ |archive-date=18 November 2013 |language=en |date=13 October 2011 |url-status=dead }}&amp;lt;/ref&amp;gt; and a W3C XML Schema for AIML&amp;lt;ref&amp;gt;{{cite web |title=AIML.xsd |url=http://aitools.org/programd/resources/schema/AIML.xsd |website=aitools.org |access-date=10 November 2010 |archive-url=https://web.archive.org/web/20060317085750/http://aitools.org/programd/resources/schema/AIML.xsd |archive-date=17 March 2006}}&amp;lt;/ref&amp;gt; are available. Noel Bush is credited as the author of the formal specification, while Richard S. Wallace is listed as the creator of AIML, and the Working Draft names contributors including Thomas Ringate, Anthony Taylor, and Jon Baer&amp;lt;ref&amp;gt;“AIML 1.0.1 Working Draft Specification (rev 006),” A.L.I.C.E. AI Foundation, October 2001 — Noel Bush (Author); Richard Wallace (Creator); Thomas Ringate, Anthony Taylor, Jon Baer (Contributors).&amp;lt;/ref&amp;gt;&lt;br /&gt;
.&lt;br /&gt;
&lt;br /&gt;
Since early 2013, The A.L.I.C.E foundation has been working on a draft specification for AIML 2.0.&amp;lt;ref&amp;gt;{{cite web |title=AIML 2.0 draft specification released |url=http://alicebot.blogspot.com:80/2013/01/aiml-20-draft-specification-released.html |website=alicebot.blogspot.com |access-date=19 June 2014 |archive-url=https://web.archive.org/web/20130518171303/http://alicebot.blogspot.com/2013/01/aiml-20-draft-specification-released.html |archive-date=18 May 2013 |date=16 January 2013}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Elements of AIML ==&lt;br /&gt;
AIML contains several elements. The most important of these are described in further detail below.&lt;br /&gt;
&lt;br /&gt;
=== Categories ===&lt;br /&gt;
Categories in AIML form the fundamental unit of knowledge. A category consists of at least two further elements: the &amp;#039;&amp;#039;&amp;#039;pattern&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;template&amp;#039;&amp;#039;&amp;#039; elements. Here is a simple category:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;category&amp;gt;&lt;br /&gt;
  &amp;lt;pattern&amp;gt;WHAT IS YOUR NAME&amp;lt;/pattern&amp;gt;&lt;br /&gt;
  &amp;lt;template&amp;gt;My name is Michael N.S Evanious.&amp;lt;/template&amp;gt;&lt;br /&gt;
&amp;lt;/category&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When this category is loaded, an AIML bot will respond to the input &amp;quot;What is your name&amp;quot; with the response &amp;quot;My name is Michael N.S Evanious.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
=== Patterns ===&lt;br /&gt;
A pattern is a string of characters intended to match one or more user inputs. A literal pattern like&lt;br /&gt;
&lt;br /&gt;
 WHAT IS YOUR NAME&lt;br /&gt;
&lt;br /&gt;
will match only one input, ignoring case: &amp;quot;what is your name&amp;quot;. But patterns may also contain wildcards, which match one or more words. A pattern like&lt;br /&gt;
&lt;br /&gt;
 WHAT IS YOUR *&lt;br /&gt;
&lt;br /&gt;
will match an infinite number of inputs, including &amp;quot;what is your name&amp;quot;, &amp;quot;what is your shoe size&amp;quot;, &amp;quot;what is your purpose in life&amp;quot;, etc.&lt;br /&gt;
&lt;br /&gt;
The AIML pattern syntax is a very simple pattern language, substantially less complex than [[regular expressions]] and as such less than level 3 in the [[Chomsky hierarchy]]. &lt;br /&gt;
To compensate for the simple [[pattern matching]] capabilities, AIML interpreters can provide preprocessing functions to expand abbreviations, remove misspellings, etc.&lt;br /&gt;
&lt;br /&gt;
The AIML syntax itself is at least as complex as [[finite-state machine]]s and as such at least of level 3 in the [[Chomsky hierarchy]]. This is because a state correlates to one [[topic (linguistics)|topic]]. To implement that behavior, the topic should have a &amp;quot;*&amp;quot; Pattern to make sure, that the state is not left accidentally. A state transit is implemented with the {{code|2=xml|1=&amp;lt;think&amp;gt;&amp;lt;set name=&amp;quot;topic&amp;quot;&amp;gt;state2&amp;lt;/set&amp;gt;&amp;lt;/think&amp;gt;}} Tag. This way, the bot will be able to &amp;quot;remember&amp;quot; the topic talked about or even user privileges, which are gained during the chat.&lt;br /&gt;
&lt;br /&gt;
=== Templates ===&lt;br /&gt;
A template specifies the response to a matched pattern. A template may be as simple as some literal text, like&lt;br /&gt;
&lt;br /&gt;
 My name is John.&lt;br /&gt;
&lt;br /&gt;
A template may use variables, such as the example&lt;br /&gt;
&lt;br /&gt;
 My name is &amp;lt;bot name=&amp;quot;name&amp;quot;/&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
which will substitute the bot&amp;#039;s name into the sentence, or&lt;br /&gt;
&lt;br /&gt;
 You told me you are &amp;lt;get name=&amp;quot;user-age&amp;quot;/&amp;gt; years old.&lt;br /&gt;
&lt;br /&gt;
which will substitute the user&amp;#039;s age (if known) into the sentence.&lt;br /&gt;
&lt;br /&gt;
Template elements include basic text formatting, conditional response (if-then/else), and random responses.&lt;br /&gt;
&lt;br /&gt;
Templates may also redirect to other patterns, using an element called &amp;#039;&amp;#039;&amp;#039;{{text|srai}}&amp;#039;&amp;#039;&amp;#039; (Symbolic Reduction in Artificial Intelligence). This can be used to implement synonymy, as in this example (where [[CDATA]] is used to avoid the need for [[XML#Escaping|XML escaping]]):&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;category&amp;gt;&lt;br /&gt;
  &amp;lt;pattern&amp;gt;WHAT IS YOUR NAME&amp;lt;/pattern&amp;gt;&lt;br /&gt;
  &amp;lt;template&amp;gt;&amp;lt;![CDATA[My name is &amp;lt;bot name=&amp;quot;name&amp;quot;/&amp;gt;.]]&amp;gt;&amp;lt;/template&amp;gt;&lt;br /&gt;
&amp;lt;/category&amp;gt;&lt;br /&gt;
&amp;lt;category&amp;gt;&lt;br /&gt;
  &amp;lt;pattern&amp;gt;WHAT ARE YOU CALLED&amp;lt;/pattern&amp;gt;&lt;br /&gt;
  &amp;lt;template&amp;gt;&lt;br /&gt;
    &amp;lt;srai&amp;gt;what is your name&amp;lt;/srai&amp;gt;&lt;br /&gt;
  &amp;lt;/template&amp;gt;&lt;br /&gt;
&amp;lt;/category&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The first category simply answers an input &amp;quot;what is your name&amp;quot; with a statement of the bot&amp;#039;s name. The second category, however, says that the input &amp;quot;what are you called&amp;quot; should be redirected to the category that matches the input &amp;quot;what is your name&amp;quot;—in other words, it is saying that the two phrases are equivalent.&lt;br /&gt;
&lt;br /&gt;
Templates can contain other types of content, which may be processed by whatever user interface the bot is talking through. So, for example, a template may use HTML tags for formatting, which can be ignored by clients that don&amp;#039;t support HTML.&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
{{reflist}}&lt;br /&gt;
&lt;br /&gt;
{{DEFAULTSORT:Aiml}}&lt;br /&gt;
[[Category:Free artificial intelligence applications]]&lt;br /&gt;
[[Category:XML markup languages]]&lt;/div&gt;</summary>
		<author><name>imported&gt;ClueBot NG</name></author>
	</entry>
</feed>