New to OpenCOG, chatbot issues

43 views
Skip to first unread message

Randy Deborggraeve

unread,
Jan 10, 2018, 5:20:30 PM1/10/18
to opencog
Hello,

I'm new to opencog. I picked up an old hobby while ago to play with electronics/robotics.
As main platform i'm using ROS, so now i want to make my robot a bit smarter ;)

As i already implemented TTS & speech recognition to my ROS stack, i want my robot be able to understand and answer, so finally i found my way to opencog.

So far i installed all dependencies by installing the packages or install from source.
Also the cogutil, atomspace, moses, opencog are git cloned, build and installed.

Running the chatbot:
~/Workspaces/opencog/relex(master)$ ./opencog-server.sh
~/Workspaces/opencog/opencog/build(master)$ guile -l ../opencog/nlp/chatbot/run-chatbot.scm
~/Workspaces/opencog/opencog/build(master)$ ./opencog/nlp/irc/cogita --nick chatbot-randy

So when i join the chat channel to talk to the bot, or just run the guile (process-query "randy" "message") commands, i get the same result.
When i first started, i always got the answer that the bot did not know the answer.
Yesterday i updated all git repo's and retried, but now with different result. The answer is always a list of all messages i typed ...

<randy_> Are u a bot?
<chatbot-randy> Hello randy_, you said: "Are u a bot?"
 You made a Declarative SpeechAct
<randy_> Tom eats apples.
<chatbot-randy> Hello randy_, you said: "Tom eats apples."
 You made a Declarative SpeechAct
<randy_> What does Tom eat?
<chatbot-randy> Hello randy_, you said: "What does Tom eat?"
 You made an Interrogative SpeechAct
 (Tom eats apples . what does Tom eat ?)
<randy_> John threw the ball
<chatbot-randy> Hello randy_, you said: "John threw the ball"
 You made a Declarative SpeechAct
<randy_> who threw the ball?
<chatbot-randy> Hello randy_, you said: "who threw the ball?"
 You made an Interrogative SpeechAct
 (Tom eats apples . what does Tom eat ? John threw the ball who threw the ball ?)


Any help to get started with this and get it working would be welcome.
I have lot of c++ experience, so if i need to dig into the code to get this solved is not an issue, just need to find where to get started

Kind regards,
Randy
Reply all
Reply to author
Forward
0 new messages