SlideShare a Scribd company logo
1 of 11
Archivist Llewellyn
IEEE National Robotics Week in Second Life
April 15, 2011
An Introduction
Basic AIML:
Turing Test
“I propose to consider the question,
‘Can machines think?’… the best strategy is [for
the machine] to try to provide answers that would
naturally be given by a man.”
-- Alan Mathison Turing
Turing Test
Background
“The XML dialect called AIML was developed by Richard Wallace and a worldwide free software
community between the years of 1995 and 2002. It formed the basis for what was initially a
highly extended Eliza called "A.L.I.C.E." ("Artificial Linguistic Internet Computer Entity"), which
won the annual Loebner Prize Contest for Most Human Computer[1] three times, and was also
the Chatterbox Challenge[2] Champion in 2004.” - Wikipedia
“AIML, or Artificial Intelligence Markup Language, is an XML dialect for
creating natural language software agents.”
What is AIML?
RICHARD WALLACE
Winner of the Loebner Prize for artificial
intelligence, 2000, 2001 and 2004. Founder of
ALICE A.I. Foundation and Pandorabots, Inc.
Inventor of ALICE, AIML and SpellBinder.
Email drwallace@alicebot.org
Website http://www.alicebot.org
http://www.pandorabots.com
Turing Test
<aiml>
<category>
<pattern>Hello</pattern>
<template>Hi!</template>
</category>
</aiml>
AIML Elements
Category
Pattern
Template
XML wrapper for a unit of knowledge
The potential AI’s response(s) to the human query or comment
Direct Response, Non-varied
Human question, statement, utterance, or unfinished sentence using a wildcard
Turing Test
<aiml>
<category>
<pattern>DO YOU KNOW WHO * IS</pattern>
<template><srai>WHO IS <star/></srai></template>
</category>
</aiml>
AIML Elements
Wildcard
srai
XML wrapper for a unit of knowledge
Redirect, Wildcard
Redirect to another pattern
Turing Test
<category>
<pattern>YOUR A *</pattern>
<template>I think you mean "you’re" or "you are" not
"your."
<srai>YOU ARE A <star/></srai>
</template>
</category>
AIML Elements
Correction
srai
Spelling and grammar can be corrected by anticipating errors and redirecting
Correction Redirect, Wildcard
Redirect to another pattern
Turing Test
<aiml>
<category>
<pattern>GOOGLE *</pattern>
<template><![CDATA[http://www.google.com/search?hl=en&q=]]>
<star/> . <![CDATA[]]>
</template>
</category>
</aiml>
AIML Elements
URLs
cdata
XML wrapper for a unit of knowledge
Link, Wildcard
section of element content marked for the parser to interpret as only
character data, not markup
Turing Test
Artificial Intelligence: A Modern Approach
http://www.alicebot.org/style.pdf
Textbooks
The Elements of AIML Style
By Dr. Richard S. W A L L A C E
By Stuart Russell and Peter Norvig
http://www.amazon.com/Artificial-Intelligence-Modern-
Approach-3rd/dp/0136042597
Turing Test
Upcoming AI Contest
2011 Loebner Prize Contest
(October 19, 2011 - University of Exeter UK)
Rules: http://loebner.net/Prizef/2011_Contest/Loebner_Prize_Rules_2011.html
Prize money: $5,750 USD minimum
Submission dates: May 2 - June 6, 2011.
Finalists: Only the first 16 entries that meet the requirements will receive further evaluation
Background: "In 1990 Hugh Loebner agreed with The Cambridge
Center for Behavioral Studies to underwrite a contest designed to
implement the Turing Test. Dr. Loebner pledged a Grand Prize of
$100,000 and a Gold Medal for the first computer whose responses
were indistinguishable from a human's. Such a computer can be said
"to think." Each year an annual prize of $2000 and a bronze medal is
awarded to the most human-like computer. The winner of the annual
contest is the best entry relative to other entries that year, irrespective of how good it is in an
absolute sense.“ http://www.loebner.net/Prizef/loebner-prize.html.
Example: http://loebner.net/Prizef/JComm.txt
Turing Test
http://www.alicebot.org/aimlbots.html
Upcoming AI Conference
Chatbots 3.1 Conference
April 23, 2011
FOURTH COLLOQUIUM ON
CONVERSATIONAL SYSTEMS
Cost: $150 USD
Register: http://chatbots31.eventbrite.com/
AIML Bots
AIML Spinoffs
Non-AIML Chat Robots
Chat Robot Communities
Networking
Turing Test
http://www.alicebot.org/downloads/sets.html
Complete Chat Bots
Free / Open Source AIML Implementations
Actively developed:
RebeccaAIML (C++, Java, .NET/C#,
Python, Eclipse AIML editor plugin)
Program D (Java, J2EE)
Program R (Ruby)
Program Q (C++, Qt)
Program W (Java)
CHAT4D edit and run (delphi) (french)
Program O (PHP/MySQL)
Program# (.NET/C#)
French, German, Italian, Portuguese, Spanish

More Related Content

Similar to Basic AIML Class

MS Word version
MS Word versionMS Word version
MS Word version
butest
 
MS Word version
MS Word versionMS Word version
MS Word version
butest
 
Big, Open, Data and Semantics for Real-World Application Near You
Big, Open, Data and Semantics for Real-World Application Near YouBig, Open, Data and Semantics for Real-World Application Near You
Big, Open, Data and Semantics for Real-World Application Near You
Biplav Srivastava
 
The INTERNETA Mass Communication mediumWhy I Cho.docx
The INTERNETA Mass Communication mediumWhy I Cho.docxThe INTERNETA Mass Communication mediumWhy I Cho.docx
The INTERNETA Mass Communication mediumWhy I Cho.docx
oreo10
 
artificial intelligence
 artificial intelligence artificial intelligence
artificial intelligence
Megha Sharma
 

Similar to Basic AIML Class (20)

ContentMine: Open Data and Social Machines
ContentMine: Open Data and Social MachinesContentMine: Open Data and Social Machines
ContentMine: Open Data and Social Machines
 
20211103 jim spohrer oecd ai_science_productivity_panel v5
20211103 jim spohrer oecd ai_science_productivity_panel v520211103 jim spohrer oecd ai_science_productivity_panel v5
20211103 jim spohrer oecd ai_science_productivity_panel v5
 
MS Word version
MS Word versionMS Word version
MS Word version
 
MS Word version
MS Word versionMS Word version
MS Word version
 
Ellyssa Kroski Resume
Ellyssa Kroski ResumeEllyssa Kroski Resume
Ellyssa Kroski Resume
 
Big, Open, Data and Semantics for Real-World Application Near You
Big, Open, Data and Semantics for Real-World Application Near YouBig, Open, Data and Semantics for Real-World Application Near You
Big, Open, Data and Semantics for Real-World Application Near You
 
Ai
AiAi
Ai
 
AI and Healthcare: An Overview (January 2024)
AI and Healthcare: An Overview (January 2024)AI and Healthcare: An Overview (January 2024)
AI and Healthcare: An Overview (January 2024)
 
The INTERNETA Mass Communication mediumWhy I Cho.docx
The INTERNETA Mass Communication mediumWhy I Cho.docxThe INTERNETA Mass Communication mediumWhy I Cho.docx
The INTERNETA Mass Communication mediumWhy I Cho.docx
 
Artificial intelligence apporoach to robotics
Artificial intelligence apporoach to roboticsArtificial intelligence apporoach to robotics
Artificial intelligence apporoach to robotics
 
Ieee netherlands 2011
Ieee netherlands 2011Ieee netherlands 2011
Ieee netherlands 2011
 
Ch~3.pdf
Ch~3.pdfCh~3.pdf
Ch~3.pdf
 
Artificial intelligence
Artificial   intelligenceArtificial   intelligence
Artificial intelligence
 
ExperimentalHumanities-TheCaseStudyOfLovelaceAndBabbage-20180621
ExperimentalHumanities-TheCaseStudyOfLovelaceAndBabbage-20180621ExperimentalHumanities-TheCaseStudyOfLovelaceAndBabbage-20180621
ExperimentalHumanities-TheCaseStudyOfLovelaceAndBabbage-20180621
 
Building in-house R&D to push boundaries of Voice systems
Building in-house R&D to push boundaries of Voice systemsBuilding in-house R&D to push boundaries of Voice systems
Building in-house R&D to push boundaries of Voice systems
 
NHH 20231105 v6.pptx
NHH 20231105 v6.pptxNHH 20231105 v6.pptx
NHH 20231105 v6.pptx
 
Robotics
RoboticsRobotics
Robotics
 
Looking and acting out
Looking and acting outLooking and acting out
Looking and acting out
 
artificial intelligence
 artificial intelligence artificial intelligence
artificial intelligence
 
Considering the nonhuman: Actor-network theory and human service technology r...
Considering the nonhuman: Actor-network theory and human service technology r...Considering the nonhuman: Actor-network theory and human service technology r...
Considering the nonhuman: Actor-network theory and human service technology r...
 

More from 01archivist

Biological R/evolutions
Biological R/evolutionsBiological R/evolutions
Biological R/evolutions
01archivist
 
SciLands Best Practices in Education Panel and Discussion
SciLands Best Practices in Education Panel and DiscussionSciLands Best Practices in Education Panel and Discussion
SciLands Best Practices in Education Panel and Discussion
01archivist
 

More from 01archivist (15)

Taxonomy and the Conservation of Endangered Species
Taxonomy and the Conservation of Endangered SpeciesTaxonomy and the Conservation of Endangered Species
Taxonomy and the Conservation of Endangered Species
 
Communicating Science Accurately Through Entertainment
Communicating Science Accurately Through EntertainmentCommunicating Science Accurately Through Entertainment
Communicating Science Accurately Through Entertainment
 
Exploring your personal genome with free, online bioinformatics tools
Exploring your personal genome with free, online bioinformatics toolsExploring your personal genome with free, online bioinformatics tools
Exploring your personal genome with free, online bioinformatics tools
 
Reproducibility
ReproducibilityReproducibility
Reproducibility
 
Creating a 21st Century Science Library: How and Why
Creating a 21st Century Science Library: How and WhyCreating a 21st Century Science Library: How and Why
Creating a 21st Century Science Library: How and Why
 
Second Digital Generation
Second Digital GenerationSecond Digital Generation
Second Digital Generation
 
Open data tools -turning data into actionable intelligence
Open data tools -turning data into actionable intelligenceOpen data tools -turning data into actionable intelligence
Open data tools -turning data into actionable intelligence
 
Penn State's Educational Robotics Projects and Exhibits
Penn State's Educational Robotics Projects and ExhibitsPenn State's Educational Robotics Projects and Exhibits
Penn State's Educational Robotics Projects and Exhibits
 
Machinima Best Practices
Machinima Best PracticesMachinima Best Practices
Machinima Best Practices
 
Barbara McClintock
Barbara McClintockBarbara McClintock
Barbara McClintock
 
Biological R/evolutions
Biological R/evolutionsBiological R/evolutions
Biological R/evolutions
 
DEFENSE TECHNICAL INFORMATION CENTER (DTIC)
DEFENSE TECHNICAL INFORMATION CENTER (DTIC)DEFENSE TECHNICAL INFORMATION CENTER (DTIC)
DEFENSE TECHNICAL INFORMATION CENTER (DTIC)
 
SciLands Best Practices in Education Panel and Discussion
SciLands Best Practices in Education Panel and DiscussionSciLands Best Practices in Education Panel and Discussion
SciLands Best Practices in Education Panel and Discussion
 
Archives In Second Life
Archives In Second LifeArchives In Second Life
Archives In Second Life
 
Archivopedia
ArchivopediaArchivopedia
Archivopedia
 

Recently uploaded

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Recently uploaded (20)

Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 

Basic AIML Class

  • 1. Archivist Llewellyn IEEE National Robotics Week in Second Life April 15, 2011 An Introduction Basic AIML:
  • 2. Turing Test “I propose to consider the question, ‘Can machines think?’… the best strategy is [for the machine] to try to provide answers that would naturally be given by a man.” -- Alan Mathison Turing
  • 3. Turing Test Background “The XML dialect called AIML was developed by Richard Wallace and a worldwide free software community between the years of 1995 and 2002. It formed the basis for what was initially a highly extended Eliza called "A.L.I.C.E." ("Artificial Linguistic Internet Computer Entity"), which won the annual Loebner Prize Contest for Most Human Computer[1] three times, and was also the Chatterbox Challenge[2] Champion in 2004.” - Wikipedia “AIML, or Artificial Intelligence Markup Language, is an XML dialect for creating natural language software agents.” What is AIML? RICHARD WALLACE Winner of the Loebner Prize for artificial intelligence, 2000, 2001 and 2004. Founder of ALICE A.I. Foundation and Pandorabots, Inc. Inventor of ALICE, AIML and SpellBinder. Email drwallace@alicebot.org Website http://www.alicebot.org http://www.pandorabots.com
  • 4. Turing Test <aiml> <category> <pattern>Hello</pattern> <template>Hi!</template> </category> </aiml> AIML Elements Category Pattern Template XML wrapper for a unit of knowledge The potential AI’s response(s) to the human query or comment Direct Response, Non-varied Human question, statement, utterance, or unfinished sentence using a wildcard
  • 5. Turing Test <aiml> <category> <pattern>DO YOU KNOW WHO * IS</pattern> <template><srai>WHO IS <star/></srai></template> </category> </aiml> AIML Elements Wildcard srai XML wrapper for a unit of knowledge Redirect, Wildcard Redirect to another pattern
  • 6. Turing Test <category> <pattern>YOUR A *</pattern> <template>I think you mean "you’re" or "you are" not "your." <srai>YOU ARE A <star/></srai> </template> </category> AIML Elements Correction srai Spelling and grammar can be corrected by anticipating errors and redirecting Correction Redirect, Wildcard Redirect to another pattern
  • 7. Turing Test <aiml> <category> <pattern>GOOGLE *</pattern> <template><![CDATA[http://www.google.com/search?hl=en&q=]]> <star/> . <![CDATA[]]> </template> </category> </aiml> AIML Elements URLs cdata XML wrapper for a unit of knowledge Link, Wildcard section of element content marked for the parser to interpret as only character data, not markup
  • 8. Turing Test Artificial Intelligence: A Modern Approach http://www.alicebot.org/style.pdf Textbooks The Elements of AIML Style By Dr. Richard S. W A L L A C E By Stuart Russell and Peter Norvig http://www.amazon.com/Artificial-Intelligence-Modern- Approach-3rd/dp/0136042597
  • 9. Turing Test Upcoming AI Contest 2011 Loebner Prize Contest (October 19, 2011 - University of Exeter UK) Rules: http://loebner.net/Prizef/2011_Contest/Loebner_Prize_Rules_2011.html Prize money: $5,750 USD minimum Submission dates: May 2 - June 6, 2011. Finalists: Only the first 16 entries that meet the requirements will receive further evaluation Background: "In 1990 Hugh Loebner agreed with The Cambridge Center for Behavioral Studies to underwrite a contest designed to implement the Turing Test. Dr. Loebner pledged a Grand Prize of $100,000 and a Gold Medal for the first computer whose responses were indistinguishable from a human's. Such a computer can be said "to think." Each year an annual prize of $2000 and a bronze medal is awarded to the most human-like computer. The winner of the annual contest is the best entry relative to other entries that year, irrespective of how good it is in an absolute sense.“ http://www.loebner.net/Prizef/loebner-prize.html. Example: http://loebner.net/Prizef/JComm.txt
  • 10. Turing Test http://www.alicebot.org/aimlbots.html Upcoming AI Conference Chatbots 3.1 Conference April 23, 2011 FOURTH COLLOQUIUM ON CONVERSATIONAL SYSTEMS Cost: $150 USD Register: http://chatbots31.eventbrite.com/ AIML Bots AIML Spinoffs Non-AIML Chat Robots Chat Robot Communities Networking
  • 11. Turing Test http://www.alicebot.org/downloads/sets.html Complete Chat Bots Free / Open Source AIML Implementations Actively developed: RebeccaAIML (C++, Java, .NET/C#, Python, Eclipse AIML editor plugin) Program D (Java, J2EE) Program R (Ruby) Program Q (C++, Qt) Program W (Java) CHAT4D edit and run (delphi) (french) Program O (PHP/MySQL) Program# (.NET/C#) French, German, Italian, Portuguese, Spanish