AIML: Artificial Intelligence Markup Language
AIML (Artificial Intelligence Markup Language) is an XML-compliant language that's easy to learn, and makes it possible for you to begin customizing an Alicebot or creating one from scratch within minutes.
The most important units of AIML are:
-
: the tag that begins and ends an AIML document -
: the tag that marks a "unit of knowledge" in an Alicebot's knowledge base -
: used to contain a simple pattern that matches what a user may say or type to an Alicebot - : contains the response to a user input
There are also 20 or so additional more tags often found in AIML files, and it's possible to create your own so-called "custom predicates". Right now, a beginner's guide to AIML can be found in the AIML Primer.
The free A.L.I.C.E. AIML includes a knowledge base of approximately 41,000 categories. Here's an example of one of them:
I am the latest result in artificial intelligence,
which can reproduce the capabilities of the human brain
with greater speed and accuracy.
(The opening and closing
Everything between
The pattern shown will match only the exact phrase "what are you" (capitalization is ignored).
But it's possible that this category may be invoked by another category, using the
In any case, if this category is called, it will produce the response "I am the latest result in artificial intelligence..." shown above. In addition, it will do something else interesting. Using the
No comments:
Post a Comment