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

ai dialog google api
SMART_READER_LITE
LIVE PREVIEW

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


slide-1
SLIDE 1

IBM ČVUT Student Research Project 2006

AI Dialog Google API

Oleg Kovářík

slide-2
SLIDE 2

IBM ČVUT Student Research Project 2006 (2 z 13)

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

slide-3
SLIDE 3

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

Assignment Architecture

slide-4
SLIDE 4

IBM ČVUT Student Research Project 2006 (4 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

slide-5
SLIDE 5

IBM ČVUT Student Research Project 2006 (5 z 13)

Solution Architecture

  • Program D - Java
  • AIML - “brain”
  • Google API for Java
slide-6
SLIDE 6

IBM ČVUT Student Research Project 2006 (6 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>

slide-7
SLIDE 7

IBM ČVUT Student Research Project 2006 (7 z 13)

Standard Dialog 2

  • AIML provides redirection

<category> <pattern>WHAT ARE YOU CALLED</pattern> <template> <srai>what is your name</srai> </template> </category>

slide-8
SLIDE 8

IBM ČVUT Student Research Project 2006 (8 z 13)

Standard Dialog 3

  • AIML provides reductions

<category> <pattern>HELLO *</pattern> <template> <srai>HELLO</srai><sr/> </template> </category>

slide-9
SLIDE 9

IBM ČVUT Student Research Project 2006 (9 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”

slide-10
SLIDE 10

IBM ČVUT Student Research Project 2006 (10 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

slide-11
SLIDE 11

IBM ČVUT Student Research Project 2006 (11 z 13)

Example

Google answer

slide-12
SLIDE 12

IBM ČVUT Student Research Project 2006 (12 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)

slide-13
SLIDE 13

IBM ČVUT Student Research Project 2006 (13 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