(nlp-parse john is generous")guile> (process-query "Priya" "who is generous?")
Hello Priya, you said: "who is generous?"
You made an Interrogative SpeechAct
wrong-type-arg
(display Wrong type argument in position ~A: ~S (2 0) (0))
Sorry, I don't understand it
----------------------------------------------------------------
I also tried chatbot-psi
I did the following steps.:
guile> (use-modules (opencog) (opencog nlp) (opencog nlp aiml) (opencog openpsi))
guile> (add-to-load-path "/home/vishnu/Documents/opencog_relatedPackages/opencog/opencog/nlp/chatbot-psi")
guile> (load-from-path "main.scm")
guile> (load-from-path "aiml-rules.scm")
guile> (aiml-get-response-wl (token-seq-of-sent "hello"))
ERROR: In procedure apply-smob/1:
ERROR: In procedure cog-type: Wrong type argument in position 1 (expecting opencog atom): "hello"-----------------------------------------------------------------
Am i missing anything? how can i solve the problem? Any guidelines would be very much helpful.
Thanks in advance.
--
You received this message because you are subscribed to the Google Groups "opencog" group.
To unsubscribe from this group and stop receiving emails from it, send an email to opencog+unsubscribe@googlegroups.com.
To post to this group, send email to ope...@googlegroups.com.
Visit this group at https://groups.google.com/group/opencog.
To view this discussion on the web visit https://groups.google.com/d/msgid/opencog/325457a4-ffb5-4456-9a1d-5f37c7f83cba%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
ok Linas. I shall provide additional details in github. Thanks!
I tried chatbot demonstration also by installing https://github.com/hansonrobotics/HEAD. I did not compile and install the modules (such as atomspace, cogutils, opencog...) manually. It itself automatically installed all the modules required. But then also i got the following error.
guile> (process-query "Priya" "who is generous?")Hello Priya, you said: "who is generous?"You made an Interrogative SpeechAct
My .guile file is as follows :
--
You received this message because you are subscribed to the Google Groups "opencog" group.
To unsubscribe from this group and stop receiving emails from it, send an email to opencog+unsubscribe@googlegroups.com.
To post to this group, send email to ope...@googlegroups.com.
Visit this group at https://groups.google.com/group/opencog.
To view this discussion on the web visit https://groups.google.com/d/msgid/opencog/face1c29-b967-4054-a0bc-e15b3b2f2484%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/opencog/CAMfi0BKBi1EUhGQfVfEy2GKY4RDZU-LjPLjLak%2Btk731d1gWzQ%40mail.gmail.com.
But using chat-bot psi, i thought, we can only ask pre-defined questions that are in aiml file?! If i need to ask "who is generous", then in the scm file should be there a question "who is generous" and it's corresponding answer ?!
--
You received this message because you are subscribed to the Google Groups "opencog" group.
To unsubscribe from this group and stop receiving emails from it, send an email to opencog+unsubscribe@googlegroups.com.
To post to this group, send email to ope...@googlegroups.com.
Visit this group at https://groups.google.com/group/opencog.
To view this discussion on the web visit https://groups.google.com/d/msgid/opencog/098e1ee7-be96-49b5-9d84-a4ba15538197%40googlegroups.com.