ai dialog google api
play

AI Dialog Google API Oleg Kov k Assignment Design conversational - PowerPoint PPT Presentation

IBM VUT Student Research Project 2006 AI Dialog Google API Oleg Kov k Assignment Design conversational user interface for a car driver who is bored on the long route. Extend system using Google API to utilise information


  1. IBM Č VUT Student Research Project 2006 AI Dialog Google API Oleg Ková ř ík

  2. Assignment • Design conversational user interface for a car driver who is bored on the long route. • Extend system using Google API to utilise information found on the Internet IBM Č VUT Student Research Project 2006 (2 z 13)

  3. Assignment Architecture IBM Č VUT Student Research Project 2006 (3 z 13)

  4. Solution • UI: text console (in the future voice) voice recognition for general dialog is complicated • Chat Bot: Program D + AAA file set supports Artificial Intelligence Markup Language (AIML) provides text console interface • Google & Internet search for an information using Google Web APIs (beta) extract information from the found pages IBM Č VUT Student Research Project 2006 (4 z 13)

  5. Solution Architecture • Program D - Java • AIML - “brain” • Google API for Java IBM Č VUT Student Research Project 2006 (5 z 13)

  6. Standard Dialog • AIML is an XML dialect for creating natural language software agents. • Reactions are stored in categories <category> <pattern>WHAT IS YOUR NAME</pattern> <template>My name is Oleg.</template> </category> IBM Č VUT Student Research Project 2006 (6 z 13)

  7. Standard Dialog 2 • AIML provides redirection <category> <pattern>WHAT ARE YOU CALLED</pattern> <template> <srai>what is your name</srai> </template> </category> IBM Č VUT Student Research Project 2006 (7 z 13)

  8. Standard Dialog 3 • AIML provides reductions <category> <pattern>HELLO *</pattern> <template> <srai>HELLO</srai><sr/> </template> </category> IBM Č VUT Student Research Project 2006 (8 z 13)

  9. Extended Dialog • Using Google to find answers in general dialog was unsuccessful until now • System now reacts to “what is it *”, “who is it *” and similar questions ( XFIND * category) if the exact phrase is not found in the “brain” IBM Č VUT Student Research Project 2006 (9 z 13)

  10. Extended Dialog 2 • Answers are found on Wikipedia using "allintitle: " + query + " site:en.wiki.org“ • First sentence of the found article is used as a response IBM Č VUT Student Research Project 2006 (10 z 13)

  11. Example Google answer IBM Č VUT Student Research Project 2006 (11 z 13)

  12. To do • Prepare the system, so that adding other informational resources is sipmle • Try to utilize automatic summarization (but I’m sceptic about it) IBM Č VUT Student Research Project 2006 (12 z 13)

  13. Future work • Search for other possibilities to intervene the dialog • Search for other information resources • Add voice communication interface • Integrate systems from other AI Dialog projects IBM Č VUT Student Research Project 2006 (13 z 13)

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend