Things work fine for me too... Vishnu, could you double check if you are
running all the latest codes, clean the cache (`rm -r ~/.cache/guile`),
rebuild everything then try again and see if it works?


On Sun, Sep 4, 2016 at 4:54 AM, <[email protected]> wrote:

>
>
> 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 ?!
>>>
>>       Nevertheless,  when i do (chat "what is ai"), it shows unbound
> variable: chat.
>
> guile> (chat "what is ai")
> Backtrace:
> In ice-9/boot-9.scm:
>  157: 12 [catch #t #<catch-closure 2f1cfe0> ...]
> In unknown file:
>    ?: 11 [apply-smob/1 #<catch-closure 2f1cfe0>]
> In ice-9/boot-9.scm:
>  157: 10 [catch #t #<catch-closure 2f1cb80> ...]
> In unknown file:
>    ?: 9 [apply-smob/1 #<catch-closure 2f1cb80>]
>    ?: 8 [call-with-input-string "(chat \"what is ai\")\n" ...]
> In ice-9/boot-9.scm:
> 2401: 7 [save-module-excursion #<procedure 3631900 at
> ice-9/eval-string.scm:65:9 ()>]
> In ice-9/eval-string.scm:
>   44: 6 [read-and-eval #<input: string 32ce820> #:lang ...]
>   37: 5 [lp (chat "what is ai")]
> In ice-9/eval.scm:
>  386: 4 [eval #<memoized (chat (quote "what is ai"))> ()]
>  393: 3 [eval #<memoized chat> ()]
> In unknown file:
>    ?: 2 [memoize-variable-access! #<memoized chat> #<directory # 24cfc60>]
> In ice-9/boot-9.scm:
>  102: 1 [#<procedure 2eed580 at ice-9/boot-9.scm:97:6 (thrown-k . args)>
> unbound-variable ...]
> In unknown file:
>    ?: 0 [apply-smob/1 #<catch-closure 2f1cb40> unbound-variable ...]
>
> ERROR: In procedure apply-smob/1:
> ERROR: Unbound variable: chat
> ABORT: unbound-variable
>
>
>
>
> --
> 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 [email protected].
> To post to this group, send email to [email protected].
> 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
> <https://groups.google.com/d/msgid/opencog/098e1ee7-be96-49b5-9d84-a4ba15538197%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 [email protected].
To post to this group, send email to [email protected].
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/CAMfi0B%2Bd77ZXNr8YFiVRdhb6uCL0RfrM1P0p3STGHXZhFa2_eg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to