![]() |
RE: Define formula response not working? |
Any help on a 'Correction' script would be appreciated. Trying to implement something like 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 // Initial Self programmed state machine for Comprehension // This state machine is used by the bot to program itself. State:Correction { case :input goto State:sentenceState for each #word of :sentence; :input { set #input to :sentence; set #speaker to :speaker; set #conversation to :conversation; set #target to :target; } :sentence { set #instantiation to #sentence; } State:sentenceState { do (assign :response to (new #sentence)); case "correction" goto State:correction; case "show" goto State:show; |
|
|
|
|