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 found on the Internet IBM Č VUT Student Research Project 2006 (2 z 13)
Assignment Architecture IBM Č VUT Student Research Project 2006 (3 z 13)
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)
Solution Architecture • Program D - Java • AIML - “brain” • Google API for Java IBM Č VUT Student Research Project 2006 (5 z 13)
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)
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)
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)
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)
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)
Example Google answer IBM Č VUT Student Research Project 2006 (11 z 13)
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)
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)
Recommend
More recommend