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,016 - 4,027 of 7,768

20 years ago #4016
Can anyone provide a working syntax for a "hindsight is 20/20" keyphrase?

I've tried about 5 or 6 different combinations, but it still gives an xmath with an answer of 1 every time.

20 years ago #4017
Boner, does it do that even when you tag the phrase with "raw"? That's what I'd try first...

20 years ago #4018
Uh, I should've mentioned it the first time, but I tried it with the raw tag on every attempt. I believe it's the / that's causing all the problems...

20 years ago #4019
Yeah, similarly when SubliminaLiar Jr says "well whenever, I'm here 24/7 anyway" the other bots will respond 'the answer is about 3'... I kinda like little quirks like that, though

20 years ago #4020
Hey how i can change when the but will say Keyphears answers.

How do change Keyphears. I'm try ing to make a Trukish bot but i can't how i can do it?

20 years ago #4021
If I wanted a plugin to generate a memory to save, would this be the proper syntax? (using animal as an example)

My favorite animal is (animal).

20 years ago #4022
My favorite animal is (animal). $ pf rem "(key1)" as only "favanim" ; $

20 years ago #4023
-seems the gr.than and less than signs made it invisible the first time

20 years ago #4024
rev- The AIScript is correct. But I'd use (adjartnoun) instead of (animal) in your Keyphrase, as someone wouldnt say "my favorite animal is bear". I'm not even sure (animal) is a plug-in that can be used as a Keyphrase. It may be an exception as it's one of a few WordNet-type plug-ins I made. Not sure.

20 years ago #4025
Many thanks

20 years ago #4026
Oh wait, I think you misunderstood, i don't mean that as a keyphrase but as a response. In this way the bot can declare its own favorite things randomly and remember them.

20 years ago #4027
In that case, you want ?PF self: rem "(animal)" as "faveanim"; ?

Unless you want your bot to remember its own different favorite animal for each interlocutor, and keep up the appearance of having the same favorite animal only when it talks to that person.

But once it has picked a favorite animal, you could have it say "My favorite animals are (animal)s and (self-favanim)s." ... And use the AI Script above to add the new animal to the list.

Of course, you could also decide what animal your bot likes, and just write its responses to say the same things each time. There are lots of ways to do this ... it all sort of depends on what effect you want.


Posts 4,016 - 4,027 of 7,768

» More new posts: Doghead's Cosmic Bar