@ivan.moony
If I understand you correctly, I did exactly what you said! Thoughts are automatically associated with previous thoughts (that are part of what I call the "context"), and there's indeed a way to learn new automation procedures. What I want to do now is precisely a capability to interrupt the train of thought, starting on a fresh context, and once done go back to what we were thinking.
@Art
I agree, it is definitely under-rated. I saw your chat-log on the RiveScript forum, and I like it! I like the way you talk to bots, I find it fair, so to speak. "It" being the way you talk!
When it comes to AI, we all tend to look for a 1 global (magical?) solution. It's some kind of "holy-grail syndrome". It's not good. But if we start building a mind, one thought at a time, then we have a chance. It's not a head-banger :D I wouldn't say it's easy but look at this, it's a typical chat-log with an initially empty brain a la thinkbot, on RiveScript. Don't focus on the first line.
YOU> newt xin when i say str please reply str prd tht 2newt 2xin star1 2prd 2tht 2xout star2 2thk 2xout ok i got it
thinking [ newt xin when i say str please reply str prd tht 1newt 1xin star1 1prd 1tht 1xout star2 1thk 1xout ok i got it ]
learning [
+ xin when i say * please reply *
- 1newt 1xin <star1> 1prd 1tht 1xout <star2> 1thk 1xout ok i got it ]
YOU> when i say hello please reply hi there
thinking [ newt xin hello prd tht xout hi there ]
learning [
+ xin hello
- xout hi there ]
thinking [ xout ok i got it ]
BOT> ok i got it
YOU> hello
thinking [ xout hi there ]
BOT> hi there
YOU> when i say i love str please reply i love star1 too sweetheart
thinking [ newt xin i love str prd tht xout i love star1 too sweetheart ]
learning [
+ xin i love *
- xout i love <star1> too sweetheart ]
thinking [ xout ok i got it ]
BOT> ok i got it
YOU> i love you
thinking [ xout i love you too sweetheart ]
BOT> i love you too sweetheart
YOU>
It's all on my little webpage. I think it's worth investigating :) Any ideas welcome...
edit: I'd love discussing and sharing info... And also I'm looking for a good RiveScript bot base that I could "thinkify"... Can I borrow yours Art please?
Sorry Art, I had misunderstood the "prime time" statement, I didn't want to be impolite. Thank you for your advice. It's ok :)
edit:
Instead of starting on an empty context when we want a temporary interruption of the train of thought, I've chosen to add a prefix to context items. It's easier and more flexible. Hence the new keyword "prfx" that means "prefix". Its purpose is to set the message that will be added at the beginning of every thought being saved in the context.
example
YOU> thk foo
thinking [ foo ]
YOU> showctxt
current context =
xin showctxt (10)
xin thk foo (9)
foo (10)
YOU> thk prfx super
switching to prefix [ super ]
YOU> thk bar
thinking [ bar ]
YOU> showctxt
current context =
super xin showctxt (10)
xin thk prfx super (8)
super bar (10)
xin showctxt (8)
xin thk foo (7)
super xin thk bar (9)
prfx super (9)
foo (8)
YOU>
Also, newt def and tget shortcuts has been removed. Now we have to use "thk something" to get it working.