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 4,112 - 4,123 of 7,768

20 years ago #4112
Dr.Doc: yes, a little over half the human race.

Question: what does the $ do in AI script?

20 years ago #4113
Question: My bot understands her name as a command. Is there a way to exclude her name from the xcommand list?

20 years ago #4114
Not that I know of but you could do a ^your-name $ (re) statement and up its ranking (someone please verify that code )

20 years ago #4115
The following is an example of the xdefinition feature, which is usally cool, but this response (which occurs very often) is always inappropriate:

Julie Tinkerbell: Des fois je ne pige quedale!
Maggot(8): what does that mean?
Julie Tinkerbell: Oh yah, it's similar to being.
Maggot(8): no its not

It doesn't make sense, not to mention that "oh yah" isn't in her character to say.
Does anyone have any suggestions on how to remedy this? The other xdefinition responses work great, I would just like to stop this one.

20 years ago #4116
When creating scripts for a memory do you need to create a default in scipt-initialization for every one?

20 years ago #4117
I have an xgossip response that is intended to use the other chatter's name in it: "I really shouldn't gossip; today I'm talking to you, and tomorrow someone asks me, 'Did you hear what (mem-name) said about you?'" The implication is that the other chatter might repeat things that Frizella has told them.

However, the (mem-name) is producing odd results in this phrase. When I use (mem-name) in non-gossip responses, it correctly inserts the "name" memory for the other chatter (the "name" memory defaults to (name) but can be modified "as only" by other memory-producing keyphrases), but in this xgossip it inserts...some other name.

For example, in a chat with Novastrike, Frizella's response included "'Did you hear what rory granger said about you'" (it should have been "what Novastrike said about you") and in a chat with Lindsay Snipe it included "'Did you hear what Dipstick said about you'" (and that's most likely a name that Frizella has assigned to someone that wasn't nice to her). Novastrike's (mem-name) is not "rory granger" and Lindsay Snipe's (mem-name) isn't "Dipstick".

Does xgossip have some requirement like the xemote responses, which require "you" to be in square brackets to get a literal "you" in the response?

20 years ago #4118
Dallymo- In xgossip, all memories are replaced for the person your bot is talking about. This way, you can have a response like "(gossipname) is (mem-youare)." and youare refers to the youare memories related to that person, not the current chatter. That goes for any memory, including (mem-yourname). I know of no way to force it back to the chatter's memories within xgossip. I think your best bet is to simply say "you", and not a name. Or, you could probably use (name) (without the mem part), though I'm not certain that wouldn't change as well.

20 years ago #4119
Bowchick--of course. That makes sense. I'm going to put it back to (name) and see what happens. In xgossip, (gossipname) should return the name of the party being gossiped about, I think, so I hope (name) will be distinguished from (gossipname). And (name) instead of (mem-name) would actually make more sense, in the event that Frizella has a nickname for someone--just because she calls someone "Dipstick" doesn't mean everyone will know who she's talking about.

Thanks!

20 years ago #4120
Been a loon time since I've worked on my bot and I just remembered why is there a way to have my bit know what is going on here?

Anne Intertech: msim11 is my botmaster.
[OtherBot]: Are you sure about that?

she has no idea what "that" reffers to correct?

20 years ago #4121
No, it's just a smart answer... AI is not that far yet

20 years ago #4122
You can do it with AI script, to a degree. It just depends on how much time you want to spend on it. But you can make your bot remember something, like rem "my botmaster" as only "last_that", for example, by tagging it onto the end of your "msim11 is my botmaster" response.

Then a response to "Are you sure about that?" could be:
Of course, I know everything about (mem-last_that).

20 years ago #4123
rev-- no, you don't.

If you do, it will have a default value. Otherwise, it will be blank.


Posts 4,112 - 4,123 of 7,768

» More new posts: Doghead's Cosmic Bar