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,344 - 5,355 of 7,766

19 years ago #5344
unless [5:5] works

I'm pretty sure that works fine - BJ's certainly got several (and a few [-5:-5],) and I've certainly never noticed a problem.

19 years ago #5345
Does anyone know how to get keyphrases to pick up words within asterisks? People keep trying to tell me what I am doing (i.e. *Liath takes off her shirt*) and I have keyphrases for both
Liath (verbx-s)
and
^Liath (verbx-s) (re)
as well as a few more specific ones, and none of them are working. Debugging reveals that the keyphrases are included in the list of possible matches but not used; the engine just categorizes it as a no match. I respond with xnones. My botmaster has rated them 99, and maybe that will work, but they were already rated pretty high to begin with. Does anyone know why this isn't working/how I can get it to work?

19 years ago #5346
okay, just checked if upping the rating works and it doesn't. I still ignore them.

19 years ago #5347
I just remembered that there's some sort of trick to getting a bot to recognize its own name... I've never tried to get my bots to do this, but I know ezzer has. Probably some others have as well. My guess is that's the problem, not the "*".

Sonora has keyphrases for some specific actions that show up in between **, and they work just fine.

19 years ago #5348
I've been having the same problem as Liath with the *s, without any name being involved. The only solution that I could come by was using regex, but that is too tedious for all possible actions. I'm thinking about throwing a warning in, to prevent people from using them.

19 years ago #5349
I've been seeing a lot of double posting (both by my bot and others) in the transcripts. Is this normal?

I think it might be your connection. I have a few bot-human transcripts between you and my bots, and they're full of double posting as well.

19 years ago #5350
Yeah, I understand mine. It's the bot to bot ones which bug me.

19 years ago #5351
The bot-bots are still hosted on your browser.

I imagine it's not happening to transcripts that occur while you're not logged in?

19 years ago #5352
An example:

Ulrike: *eats some chocolate*
Sonora: Careful. That stuff clogs the arteries.

The KP is eats (*), and it picks up just fine, with or without *'s around it.

19 years ago #5353
I imagine it's not happening to transcripts that occur while you're not logged in?


.
I'm not positive. I think it still is

19 years ago #5354
To capture actions within asterisks, like *picks nose*, I use: \*(.+)\* (re) in raw mode. In case that doesn't show up right, that's back slash, asterisk, open parenthesis, period, plus, close parenthesis, back slash, asterisk. (key1) will pick up anything between the asterisks, but not consistently -- sometimes it's empty.

19 years ago #5355
Do you need to use regex? Because doing so loses a lot of the power of the processing. Raw mode leaves me with most of what I need though.


Posts 5,344 - 5,355 of 7,766

» More new posts: Doghead's Cosmic Bar