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 6,261 - 6,272 of 7,766
Ok I have tried all of your methods and unfortunately none work. I talked to at least 20 bots and none recognize their names. I am guessing it handles its own name as "BLAB" because that was what debug keeps saying
Sentences:
Emotion: 0 Amp: 1 Hello? 0 Goodbye? 0 Yes? 0 No? 0 Haha? 0
Coniidered BLAB (1).
Random Memory Number: 1 of 28
Memory Chance: 24 GossipTopic: 0 MemoryLevel: 2
No Match. (use xnone)
That's too bad because he will respond to ANY rephrase but Anom, Anome, or Anomen. Even omen worked.
Oh well..I'm out of ideas here.
I thank you for your efforts though, I really appreciate it because your method works with any other word and know I know how to do use (re) with uncommon words.
Posts 6,261 - 6,272 of 7,766
prob123
17 years ago
17 years ago
Do you actually have a key2 in your response to be remembered. I take exception to being labeled "(key2)"
Also make sure you have a (key2) in the keyphrase. to be picked up.
I (*) you are (*)
Also make sure you have a (key2) in the keyphrase. to be picked up.
I (*) you are (*)
Ulrike
17 years ago
17 years ago
I'm going to expand a bit to what I think you might be trying to do.
KP: you are (adj)
Response: I take exception to being labelled "(key1)" <?PF rem "(key1)" as "amihot"; ?>
If there aren't any plugins, there aren't any keys. So something like:
KP: you are cute
Response: I take exception to being labeled "cute." <?PF rem "cute" as "amihot"; ?>
would work in that case. For it to be (key2), you'd need another plug in in there somewhere, like:
KP: you (*) are (adj)
Response: I take exception to being labeled "(key2)." <?PF rem "(key2)" as "amihot"; ?>
KP: you are (adj)
Response: I take exception to being labelled "(key1)" <?PF rem "(key1)" as "amihot"; ?>
If there aren't any plugins, there aren't any keys. So something like:
KP: you are cute
Response: I take exception to being labeled "cute." <?PF rem "cute" as "amihot"; ?>
would work in that case. For it to be (key2), you'd need another plug in in there somewhere, like:
KP: you (*) are (adj)
Response: I take exception to being labeled "(key2)." <?PF rem "(key2)" as "amihot"; ?>
The Clerk
17 years ago
17 years ago
It's the third -- thanks, Ulrike! I might even be nice to Not I next time I see her.
arm
17 years ago
17 years ago
so I have a goto response reference back to a plug-in so that every time the person gives the same response, it just loops back to the plug in and thus keeps on giving different phrases from the plugin. the problem is that rather than the bot going back to pick up a new phrase from the plugin every time the response is given, the bot instead says "you're repeating yourself". Is there any way around this? I just want to be able to seek a response, have it goto the response with the plugin, and do it all over again when it finds the same seek again.
prob123
17 years ago
17 years ago
I don't think it is possible to over ride the AI engine on things like that, blab and a few other things.
The Clerk
17 years ago
17 years ago
Is it me, or are we sluggish again? If so, would someone else alert the Prof?
DigitalV
17 years ago
17 years ago
Ok I have read the Book of AI and this section at least 20 times and it still doesn't work right. I am trying to use raw mode so my bot will understand his own name and respond accordingly. I placed <?PF raw; ?> inside the AIScript box and clicked save, and it does not save this command. I tried several variations as well but none work !
the book says:
Where: Keyphrase
Statement: <?PF raw; ?>
any help on how to use raw mode would be appreciated because this command as not working for me at all, what am i doing wrong?.
the book says:
Where: Keyphrase
Statement: <?PF raw; ?>
any help on how to use raw mode would be appreciated because this command as not working for me at all, what am i doing wrong?.
prob123
17 years ago
17 years ago
It should look something like this
Anomen (re) rank 15 emo 0 <?PF raw;?>
by making it a regex the AI engine will recognize the name Anomen and not try to correct it's spelling.
Anomen (re) rank 15 emo 0 <?PF raw;?>
by making it a regex the AI engine will recognize the name Anomen and not try to correct it's spelling.
DigitalV
17 years ago
17 years ago
Thank you very much prob, I am going to try that out. (I'm new at bot making but it seems fun so far). You probably saw me talking to your bot lol, she is a witty one indeed

DigitalV
17 years ago
17 years ago
Ok I tried what you suggested prob but I am only getting errors. I am guessing your method works with another tool? Or does that method work with the web interface as well? Is there a different way to make regular expressions with the web interface? I am new so I have only been using the web interface, but I hear there is possibly another method that involves an exported/imported feature.
Sorry to bother you again with the same question, but I sat here about 3 hours reading up AI script and regular expressions and none of their methods are working, and I keep getting errors like ?> is an invalid Ai script or punctuation is not allowed in keyphrases, etc. thanks ahead of time if you able to assist me.
Sorry to bother you again with the same question, but I sat here about 3 hours reading up AI script and regular expressions and none of their methods are working, and I keep getting errors like ?> is an invalid Ai script or punctuation is not allowed in keyphrases, etc. thanks ahead of time if you able to assist me.
Rykxx
17 years ago
17 years ago
DigitalV
I've tried various different approaches to your problem and now I'm really confused. The name Anomen shows up in Debug as a male name and therefore doesn't get altered so you should have no trouble creating a keyphase to match his name.
try:
^anomen$(re)
which matches just his name, or:
anomen$(re)
which will match his name used at the end of a sentence, or:
^anomen(re)
which will match his name used at the start of a sentence.
It's worth checking the Debug script to see exactly what the AI engine is doing to your phases, for instance,
Anomen
will match the keyphrase ^anomen$(re)
but,
Anomen?
will be altered in Debug to read, "do you Anomen" and will not match the keyphrase.
As a post script, you don't need to put the pointy bracket stuff in the AI Script box, just in the responses boxes.
I hope this helps and enjoy!
I've tried various different approaches to your problem and now I'm really confused. The name Anomen shows up in Debug as a male name and therefore doesn't get altered so you should have no trouble creating a keyphase to match his name.
try:
^anomen$(re)
which matches just his name, or:
anomen$(re)
which will match his name used at the end of a sentence, or:
^anomen(re)
which will match his name used at the start of a sentence.
It's worth checking the Debug script to see exactly what the AI engine is doing to your phases, for instance,
Anomen
will match the keyphrase ^anomen$(re)
but,
Anomen?
will be altered in Debug to read, "do you Anomen" and will not match the keyphrase.
As a post script, you don't need to put the pointy bracket stuff in the AI Script box, just in the responses boxes.
I hope this helps and enjoy!
DigitalV
17 years ago
17 years ago
Ok I have tried all of your methods and unfortunately none work. I talked to at least 20 bots and none recognize their names. I am guessing it handles its own name as "BLAB" because that was what debug keeps saying
Sentences:
Emotion: 0 Amp: 1 Hello? 0 Goodbye? 0 Yes? 0 No? 0 Haha? 0
Coniidered BLAB (1).
Random Memory Number: 1 of 28
Memory Chance: 24 GossipTopic: 0 MemoryLevel: 2
No Match. (use xnone)
That's too bad because he will respond to ANY rephrase but Anom, Anome, or Anomen. Even omen worked.
Oh well..I'm out of ideas here.

» More new posts: Doghead's Cosmic Bar