Germandrummer92 / TalkingRobot

PSE
0 stars 0 forks source link

RA asking for a recipe which needs a certain tool #36

Closed rosine closed 10 years ago

rosine commented 10 years ago

if you ask for a recipe with a certain tool, you get as the recipe name null if you first ask for a ingredient you get the right name and if you then asks for the tool you also get the right tool

rosine commented 10 years ago

asking for a country does not work yet

rosine commented 10 years ago

I teaches a different recipe which uses things that are not needed for pancakes and asks for these ingredients but I get the answer pancakes....

rosine commented 10 years ago

now every ingredient leads to pancake....

rosine commented 10 years ago

that is a recipe

Germandrummer92 commented 10 years ago

This now works. "what recipe uses a knife" will give you hamburger. Right now it will only give you the first occurence of a recipe using the tool/ingredient. I could change that I suppose, but it would take a while so I'd rather not

Germandrummer92 commented 10 years ago

Unfortunately, the ingredients of hamburger have not been added as keywords so they wont work right now. If somebody adds them as keywords it should work though. Also, "what recipe uses " isn't doing very much right now but asking for a recipe name that it can give information for. I suppose a user should know which ingredients/tools\ he can ask for though.

narigaoka commented 10 years ago

There is a problem. Due to the change "bring me a knife" didn't lead to the right dialog. it always lead me to RL. I changed it and "bring me a knife" leads to KA again but "which recipe needs a knife" doesn't lead to RA again. i tried to fix it, but cannot find an appropriate order so that both work

narigaoka commented 10 years ago

ok, it should work, i hope