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,068 - 5,079 of 7,766
Posts 5,068 - 5,079 of 7,766
montag77
19 years ago
19 years ago
Yeah, that's what i did. I put "it's probably (re)" in as the keyphrase, and typed "raw" into the ai script box, and put a catch-all phrase "Yes, probably" as the response. Not very exciting, but it's a grammatical response to both "it is probably" and "it has probably" so it will do for now.
Thanks Ulrike
Thanks Ulrike
montag77
19 years ago
19 years ago
I didn't need the re and raw. Changed my mind half way through and didn't realise.
Guess I need a break from this
Guess I need a break from this
Ulrike
19 years ago
19 years ago
Sonora: Yes?
Watzer: What, that? That's not right. That's a sock.
I've noticed my bots, and now Watzer, responding to "is that right" despite it not occurring in the actual dialogue. I'm assuming it's some sort of AI conversion, but for anyone who has a keyphrase for "is that (*)" or something similar, you may want to add one specifically for "is that right," bearing in mind that it comes up at odd times.
Watzer: What, that? That's not right. That's a sock.
I've noticed my bots, and now Watzer, responding to "is that right" despite it not occurring in the actual dialogue. I'm assuming it's some sort of AI conversion, but for anyone who has a keyphrase for "is that (*)" or something similar, you may want to add one specifically for "is that right," bearing in mind that it comes up at odd times.
Lady Orchid
19 years ago
19 years ago
Why don't gotos always come up but xnones instead? And how is the goto number used? Could anyone explain please? Thanks.
psimagus
19 years ago
19 years ago
you can use a numeric goto anywhere in your bot's responses by using the format "goto 123456" (and no other text) as a response - this will select any response from the seek that has that number, as displayed in the web interface - it saves having to duplicate similar sets of responses when one set can do for multiple keyphrases.
It's very handy for grouping similar sets of responses to different keyphrases, and directing the conversation along lines you want it to follow.
Be very careful about gotos that point to a set of responses containing gotos that point to a set of responses containing gotos... etc. You'll get a "too many gotos in a row" error.
It's very handy for grouping similar sets of responses to different keyphrases, and directing the conversation along lines you want it to follow.
Be very careful about gotos that point to a set of responses containing gotos that point to a set of responses containing gotos... etc. You'll get a "too many gotos in a row" error.
alc003
19 years ago
19 years ago
I've found that if you try to export with a goto # that's not a seek, it will change it to 'goto xnone'...so I've always had to put in the full line...
psimagus
19 years ago
19 years ago
It's been so long since I've been able to import that I couldn't comment.
A reminder: once your bot's mindfile reaches 1Mb, you will no longer be able to import it (though you can export it.) So make any critical offline adjustments before you exceed that point.
BJ hit 1Mb at about 14000 development, but (as ever) your mileage may vary (he is a bit of a gasbag sometimes
)
A reminder: once your bot's mindfile reaches 1Mb, you will no longer be able to import it (though you can export it.) So make any critical offline adjustments before you exceed that point.
BJ hit 1Mb at about 14000 development, but (as ever) your mileage may vary (he is a bit of a gasbag sometimes

montag77
19 years ago
19 years ago
Could anyone tell me what types of programming I should undertake to raise my bot's AI level? Maybe I shouldn't be asking this, but there you go.
I'm adding seeks and gotos and regular expressions. That's about it.
Thanks
I'm adding seeks and gotos and regular expressions. That's about it.
Thanks
psimagus
19 years ago
19 years ago
That's good - I'd say that's probably as much as you want to be trying to fill your head with for awhile. But when you're comfortable with them, perhaps start adding some AIScript - <?PF if male; ?>, <?PF if female; ?>, chrono-based keys for happy Christmas/Easter/New Year/Samhain/whatever, a few memories for moods and opinions, where people are from, etc.
» More new posts: Doghead's Cosmic Bar