1 / 9

AIML 2.0 Artificial Intelligence Markup Language

AIML 2.0 Artificial Intelligence Markup Language. Hà Nội 2013. Overview. AIML. Chatbot open source AIML 1.0 – 2001 AIML 2.0 – 2013 https://docs.google.com/document/d/1wNT25hJRyupcG51aO89UcQEiG-HkXRXusukADpFnDs4/pub. Overview. New app - AIML 2.0 technology. AIML 2.0.

dewei
Download Presentation

AIML 2.0 Artificial Intelligence Markup Language

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. AIML2.0 Artificial Intelligence Markup Language HàNội 2013

  2. Overview AIML • Chatbot open source • AIML 1.0 – 2001 • AIML 2.0 – 2013 • https://docs.google.com/document/d/1wNT25hJRyupcG51aO89UcQEiG-HkXRXusukADpFnDs4/pub

  3. Overview New app - AIML 2.0 technology

  4. AIML 2.0 The most important units of AIML • <aiml>: the tag that begins and ends an AIML document • <category>: the tag that marks a "unit of knowledge" in an Alicebot's knowledge base • <pattern>: used to contain a simple pattern that matches what a user may say or type to an Alicebot • <template>: contains the response to a user input <category> <pattern>WHAT IS YOUR NAME</pattern><template>My name is John.</template> </category>

  5. AIML 2.0 What’s new AIML 2.0 • Zero+ wildcards: new wildcards that match 0 or more words. • Highest priority matching: select certain words to have top matching priority. • Migrating from attributes to tags: more dynamic control of attribute values. • AIML Sets: match inputs with sets of words and phrases. • AIML Maps: map set elements to members of other sets. • Loops: Iterations in conditional expressions. • Local variables: variables with scope limited to one category. • Sraix: access external web services and other Pandorabots. • Pandorabots extensions • date: formatted date and time. • request: access previous input request history. • response: access previous bot response history. • unbound predicates: check if a predicate has been set or not. • learn: learn new AIML categories. • learnf: learn new AIML categories and save in a file. • explode: split words and phrases into individual characters. • OOB (Out of Band) Tags: AIML extension for mobile device control

  6. AIML 2.0 Zero + Wildcards • <category><pattern>SHARPTEST #</pattern> • <template>#star = <star/></template> • </category> • <category><pattern>SHARPTEST # TEST</pattern> • <template>#star = <star/></template> • </category> • <category><pattern># KEYWORD #</pattern> • <template>Found KEYWORD</template> • </category> • <category><pattern>^ CARETTEST</pattern> • <template>^star = <star/></template> • </category>

  7. AIML 2.0 Set and Map in AIML <category> <pattern>WHAT IS THE CAPITAL OF <set>state </set></pattern> <template> The capital of <star/> is <map> <name>statecapital</name> <star/> </map></template> </category> Ex: What is the capital of Vietnam ? The capital of Vietnam is Hanoi https://docs.google.com/document/d/1DWHiOOcda58CflDZ0Wsm1CgP3Es6dpicb4MBbbpwzEk/pub Vietnam:Hanoi Ghana:Accra

  8. AIML 2.0 Folder & AIMLIF 0,Bạn đang làm ở đâu *,*,*,<srai>WORK</srai>,reductions1.aiml 0,Bạn đang làm việc ở đâu *,*,*,<srai>WORK</srai>,reductions1.aiml 0,Bạn được chế tạo ở đâu *,*,*,<srai>NATIONALITY</srai>,reductions1.aiml 0,Ai chế tạo ra bạn *,*,*,<srai>BOTMASTER</srai>,reductions1.aiml

  9. References • https://code.google.com/p/aiml-en-us-pandorabots-callmom/downloads/list • http://www.alicebot.org/aiml.html • http://pandorabots.com/botmaster/en/home • http://callmom.pandorabots.com/static/callmom/index.html • http://www.pandorabots.com/pandora/pics/wallaceaimltutorial.html • http://en.wikipedia.org/wiki/AIML

More Related