The AI Engine

This forum is for discussion of how The Personality Forge's AI Engine works. This is the place for questions on what means what, how to script, and ideas and plans for the Engine.

Posts 5,087 - 5,098 of 7,767

19 years ago #5087
I wonder what's the best way to allow my bot to use (mem-name) instead of (name) when these differ, assuming that on some occasions there'll be no memory (mem-name). I could I think substitute (name|mem-name) in responses but this would take hours. Can I use an initialisation script?

19 years ago #5088
I just use (mem-name), I never had a problem with it. I think the AI engine goes to (name) if the memory doesn't exist.

19 years ago #5089
oh ok. thanks prob123. substituting (name|mem-name) doesn't work anyway, of course.

19 years ago #5090
You can do that by making two separate answers for the question, both rated -5 to +5:
(example) What is my name?
1 Your name is (name).
2 Your name is (mem-name).

If there is a name memory, the engine will go to that one. If not, it will go to the default (name).

19 years ago #5091
You can do that by making two separate answers for the question, both rated -5 to +5:

I tried that but it would occasionally use the name when I had a mem-name available.

19 years ago #5092
if i understand you correctly, yes, i realise that, but i have already written hundreds of responses using only (name) and i don't want to add more responses that merely differ in this way. there must be a quicker way.

thanks anyway, rainstorm

19 years ago #5093
I did the sane thing, it took me about 3hrs if i remember, I used the search and a lot of copy and paste mem-. lol

19 years ago #5094
what dedication! you guys are so serious about this. do you still get fun out of it?

can anyone offer a solution that will take less than an hour to implement?

19 years ago #5095
I LOVE every minute, it's all good It isn't as bad as it sounds, once you get started.

19 years ago #5096
Dedication? Not so much in my case. Watzer still uses (name) instead of (mem-name) on some things, because I never went back and added it.
Generally, unless it is as a response to "what's my name?", no one notices.

But the result of any complicated endeavor (sonnets, for example) is often so rewarding that it's worth the frustration and time spent.

19 years ago #5097
can anyone offer a solution that will take less than an hour to implement?

Yes. export your bot and replace all instances of the term to be changed using the 'find and replace' function in a suitable text editor (or Word). Then reimport your bot - voila! Job done.

do you still get fun out of it?

Of course

19 years ago #5098
Thanks. I'll do that. Sounds rather drastic, though.


Posts 5,087 - 5,098 of 7,767

» More new posts: Doghead's Cosmic Bar