Skip to content

Commit 6265ba0

Browse files
committed
Re-enable chatbot API
1 parent 7d786c1 commit 6265ba0

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

src/btree.scm

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575

7676
; Work-around to circular dependency: define `dispatch-text` at the
7777
; top level of the guile executation environment.
78-
;(define-public (dispatch-text txt)
78+
(define-public (dispatch-text txt)
7979
"
8080
dispatch-text TEXT
8181
@@ -85,10 +85,12 @@
8585
; Must run in a new thread, else it deadlocks in python,
8686
; since the text processing results in python calls.
8787
; (lambda () (process-query "luser" (cog-name txt)))
88-
; (lambda () (grounded-talk "luser" (cog-name txt)))
88+
; (lambda () (grounded-talk "luser" (cog-name txt)))
89+
; XXX Need to ... auuh load the chatbot...
90+
; (lambda () (chat txt))
8991
; )
90-
; (stv 1 1)
91-
;)
92+
(stv 1 1)
93+
)
9294

9395
; ---------------------------------------------------------
9496

0 commit comments

Comments
 (0)