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

ContentMine: Open Data and Social Machines
ContentMine: Open Data and Social MachinesContentMine: Open Data and Social Machines
ContentMine: Open Data and Social Machinespetermurrayrust
 
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 v5ISSIP
 
MS Word version
MS Word versionMS Word version
MS Word versionbutest
 
MS Word version
MS Word versionMS Word version
MS Word versionbutest
 
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 YouBiplav Srivastava
 
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)KR_Barker
 
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.docxoreo10
 
Artificial intelligence apporoach to robotics
Artificial intelligence apporoach to roboticsArtificial intelligence apporoach to robotics
Artificial intelligence apporoach to roboticsEr. rahul abhishek
 
Artificial intelligence
Artificial   intelligenceArtificial   intelligence
Artificial intelligenceNikeshpoudel1
 
ExperimentalHumanities-TheCaseStudyOfLovelaceAndBabbage-20180621
ExperimentalHumanities-TheCaseStudyOfLovelaceAndBabbage-20180621ExperimentalHumanities-TheCaseStudyOfLovelaceAndBabbage-20180621
ExperimentalHumanities-TheCaseStudyOfLovelaceAndBabbage-20180621Pip Willcox
 
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 systemsAlexandre Nicol
 
artificial intelligence
 artificial intelligence artificial intelligence
artificial intelligenceMegha Sharma
 
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...husITa
 

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

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 Species01archivist
 
Communicating Science Accurately Through Entertainment
Communicating Science Accurately Through EntertainmentCommunicating Science Accurately Through Entertainment
Communicating Science Accurately Through Entertainment01archivist
 
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 tools01archivist
 
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 Why01archivist
 
Second Digital Generation
Second Digital GenerationSecond Digital Generation
Second Digital Generation01archivist
 
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 intelligence01archivist
 
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 Exhibits01archivist
 
Machinima Best Practices
Machinima Best PracticesMachinima Best Practices
Machinima Best Practices01archivist
 
Barbara McClintock
Barbara McClintockBarbara McClintock
Barbara McClintock01archivist
 
Biological R/evolutions
Biological R/evolutionsBiological R/evolutions
Biological R/evolutions01archivist
 
DEFENSE TECHNICAL INFORMATION CENTER (DTIC)
DEFENSE TECHNICAL INFORMATION CENTER (DTIC)DEFENSE TECHNICAL INFORMATION CENTER (DTIC)
DEFENSE TECHNICAL INFORMATION CENTER (DTIC)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 Discussion01archivist
 
Archives In Second Life
Archives In Second LifeArchives In Second Life
Archives In Second Life01archivist
 

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

"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxLoriGlavin3
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersNicole Novielli
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersRaghuram Pandurangan
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxLoriGlavin3
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxLoriGlavin3
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxLoriGlavin3
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionDilum Bandara
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 

Recently uploaded (20)

"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software Developers
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information Developers
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptx
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 

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