AI Zone Admin Forum Add your forum

NEWS: Chatbots.org survey on 3000 US and UK consumers shows it is time for chatbot integration in customer service!read more..

My bot Johnny
 
 

This post is just a placeholder for the one directly below. The thread actually starts there, so kindly ignore this. smile

(This is how the forum software deals with moving posts to their own threads. Fun, yes?)

 

 
  [ # 1 ]

Hi all,

Steve Worswick - Dec 20, 2012:

Arthur - I could only get it to produce this even after using the example on your website:

Human: birds have wings
Robot: I HELP KIDS
Human: an eagle is a bird
Robot: I AM ROBOT
Human: what do eagles have?
Robot: EAGLE IS A BIRD

My bot Johnny is not yet a strong AI (or at least he don’t say it to me), but is able to do something like that:

You : birds have wings
Johnny : Yes.
You : an eagle is a bird
Johnny : Yes.
You : what do eagles have?
Johnny : An animal has a head, a bird has two paws and two wings.
You : Do an eagle have wings ?
Johnny : Yes.
You : Why ?
Johnny : An eagle has two wings because an eagle is a bird.
You : A hsghjgskjg is a bird
Johnny : Well, a hsghjgskjg is a bird.
You : How many wings have a hsghjgskjg ?
Johnny : A hsghjgskjg has two wings.
You : Why ?
Johnny : A hsghjgskjg has two wings because a hsghjgskjg is a bird.

...and other clever reasonings:

I am johnny, Johnny is my name, so I am my name.

smile

 

 
  [ # 2 ]

Sorry but I couldn’t get your bot to perform in that way:

Johnny : Hello.
You : cats have claws
Johnny : Well, cats have claws.
You : a tiger is a cat
Johnny : But a tiger is not a cat.
You : what do tigers have
Johnny : An animal has a head, all mammals have two eyes and teeth.
You : does a tiger have claws
Johnny : I don’t know if a tiger has claws.
You : why
Johnny : Because that’s that.

You : dogs have ears
Johnny : Yes, a dog has two ears.
You : fido is a dog
Johnny : How old are you ?
You : does fido have ears
Johnny : What is your name ?

Does it work only for tha specific example you posted?

 

 
  [ # 3 ]

Of course, my bot don’t yet understand all types of sentences, however it would pass the Turing test (maybe, one day ?). But I work on it.

In your example, the bot don’t understand “fido is a dog” because it don’t know the word “fido”. It can learn new words (“hsghjgskjg” in my example) but only with some conditions, because in other case there is some bugs like that:

You : Waht is a dog ? “what” with a typo
Johnny : I don’t know if Waht is a dog.

I think that in this case “Fido” looks like a known word, therefore it doesn’t understand it like a name, because it works with this example:

You : Fhgghshghsl is a dog.
Johnny : Well, Fhgghshghsl is a dog.
You : what have Fhgghshghsl ?
Johnny : A dog has four paws, a tail and an animal has a head.

 

 

 
  [ # 4 ]

But in my first exchange with Johnny, I used the same sentence structure as your example but merely changed:

birds to cats
wings to claws
eagles to tigers

I used the same type of sentences as in your example.

 

 
  [ # 5 ]

The sentence structure was the same, but the words was not the same. Then the response was not the same:

Johnny - Dec 22, 2012:

But a tiger is not a cat.

Do you really think that a tiger is a cat ? I hope you will never meet one… It proofs that Johnny has a beginning of intelligence.

 

 
  [ # 6 ]

Sorry I thought it was common knowledge that a tiger was a type of cat, as is a lion, cheetah, jaguar and so on..

I tried it with a different subject:

You : cars have wheels
Johnny : Well, cars have wheels.
You : a rolls royce is a car
Johnny : What is royce ?
You : what do rolls royces have?
Johnny : What is cars ?
You : does a rolls royce have wheels?
Johnny : Can you ask more simple questions?

It appears to work only with the specific example you gave.

 

 
  [ # 7 ]
Steve Worswick - Dec 27, 2012:

It appears to work only with the specific example you gave.

You have forgotten to quote the end of your conversation wink :

cars have wheels
Well, cars have wheels.

a rolls royce is a car
What is royce ?

what do rolls royces have?
What is cars ?

does a rolls royce have wheels?
Can you ask more simple questions?

a dodge is a car
Well, a dodge is a car.

does a dodge have wheels?
Yes, a dodge has wheels.

I think that a human who don’t know “Rolls Royce” will respond like my Bot. Like “Fido” in your first post.

After, I am not saying that I have THE perfect chatterbot. I show what I have done, I am improving my bot when I can, I know there is some bugs. Believe me or not it is not important for me, I have nothing to sale.

 

 

 

 
  [ # 8 ]

Yes. I found that you have to use one word and it seems to cope that way in that partcular example. I posted the sample chat before trying that out. I wasn’t meaning to disrespect your work but if you say your bot can do something, I would expect it to do the thing you claim.

For a human who doesn’t know Rolls Royce, I would have expected the previous sentence: “a rolls royce is a car” to have sufficed. I don’t think any human would have responded as Johnny did.

Human: a rolls royce is a car
Johnny: What is royce ?

You : fido is a dog
Johnny : How old are you ?

Now I see it works with one word answers sometimes, I am more impressed. Nice work.

 

 
  [ # 9 ]

I have found a pretty good conversation of Johnny with an unknown (thanks to him) : here.

 

 
  [ # 10 ]

Some news of Johnny:

I have made some improvements recently:

Comparisons between two entities:

Which is bigger, a big lion or a small mountain ?
A mountain is much bigger than a lion.

Common point between two entities:

What does a strawberry and an apple have in common?
A strawberry is a fruit and an apple is a fruit.

Find the odd word:

Find the odd word: cat dog elephant tortoise
A tortoise is not a mammal.

Johnny is always here : http://www.vixia.fr/mylene/johnny.php

 

 
  [ # 11 ]

I couldn’t get it to work:

You : which is bigger a pencil or a tree
Johnny : I don’t know how much pencil is measuring.
You : whic is bigger an elephant or a mouse
Johnny : What is your name?
You : which is bigger an elephant or a mouse
Johnny : Where do you live?
You : what does a cat and a dog have in common
Johnny : Cats meow when they are hungry.
You : what does green and red have in common
Johnny : How old are you?
You : find the odd word: hair arm leg peanut
Johnny : I don’t know.

 

 
  [ # 12 ]
Steve Worswick - Oct 28, 2013:

I couldn’t get it to work:

1) because “whic” is not equal to “which”
2) because a question may be ending by a “?”
3) because Johnny is like a human: when it/he ask your name and you don’t respond, he will not respond to your questions.
4) because there is yet a lack of knowledge (for hair arm leg and peanut)

 

 
  [ # 13 ]

Thanks Denis. I tried again with your suggestions:

http://www.vixia.fr/mylene/logs/1EhPFPES7c.txt

Unfortunately, I could only get Johnny to respond correctly to a few questions:

Which is bigger a cat or a man?
A man is bigger than a cat.

Which is bigger a lion or a mountain?
A mountain is much bigger than a lion.

Is there a list of nouns it uses for us to try it out?

I was impressed with this though:

Find the odd word: lion mountain cat dog
Only mountains can’t swim.

 

 
  [ # 14 ]
Steve Worswick - Oct 28, 2013:

Is there a list of nouns it uses for us to try it out?

There is not really a list. Every things he knows (common words generally)

 

 
  [ # 15 ]

Hi Denis,

Would it be an idea to list your chatbot Johny in our chatbot directory as well?

http://www.chatbots.org/directory/insert_chatbot/

 

 
  login or register to react