Yesterday on
3.SEP.2008 we implemented
knowledge-base (KB)
traversal in
MindForth artificial intelligence for
robots by reactivating
English bootstrap (enBoot)
concepts during periods of no user input.
The new feature made
MindForth far more interesting to operate than
it had ever been before, because now the AI Mind prompts the human
user with conversational gambits, rather than the other way around.
We hasten to implement the same feature now in the JavaScript
artificial intelligence (JSAI).
First we declare in
JavaScript the following
variable
var kbtv = 1; // 4sep2008 KB-traversal triggerfrom the MindForth free AI source code. Then we test the code,
Gradually we re-implement in JavaScript the
KB-traversal code
from
MindForth AI, but we change one detail. Whereas
MindForth
reactivated the
enBoot concepts ROBOTS PEOPLE YOU TRUTH
in that order, we switch to YOU PEOPLE ROBOTS TRUTH in
the
JSAI because we realize that the first concept in the
list will have the most frequent reactivations. We might
as well activate the "YOU" concept first and most frequently
in order to prompt for engaging conversations between the
artificial intelligence and the
human user.
When "PEOPLE" is activated as the second concept, not much
happens because the
enBoot sequence associates PEOPLE with FEAR.
When "ROBOTS" is activated as the third concept, the AI Mind
remembers a lot of information involving robots. The fourth
concept "TRUTH" does not associate to anything unless a human
user inputs information about truth.
We make the
HCI screen a little more dynamic by reporting
which
KB-traversal is happening and which
Rejuvenate cyc(le)
has occurred. If a user enters any input, the reported
KB-traversal drops to level zero because traversal of the
knowledge-base is necessary only when no dialog is happening.
We hasten to upload this special update of the JSAI to
http://mind.sourceforge.net/Mind.html because it now
exhibits the same
KB-traversal behavior as
MindForth.
JavaScript AI Mind Programming Journal
http://mentifex.virtualentity.com/js080815.html
http://mentifex.virtualentity.com/js080816.html
http://mentifex.virtualentity.com/js080819.html
http://mentifex.virtualentity.com/js080822.html
http://mentifex.virtualentity.com/js080823.html
http://mentifex.virtualentity.com/js080826.html
http://mentifex.virtualentity.com/js080904.html
MindForth Programming Journal
http://mentifex.virtualentity.com/fp080824.html
http://mentifex.virtualentity.com/fp080825.html
http://mentifex.virtualentity.com/fp080827.html
http://mentifex.virtualentity.com/fp080829.html
http://mentifex.virtualentity.com/fp080831.html
http://mentifex.virtualentity.com/fp080901.html
http://mentifex.virtualentity.com/fp080903.html
http://mentifex.virtualentity.com/fp080912.html
http://mentifex.virtualentity.com/fp080917.html
http://mentifex.virtualentity.com/fp080925.html
http://mentifex.virtualentity.com/fp080927.html