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
Posts 4,016 - 4,027 of 7,768
Boner the Clown
20 years ago
20 years ago
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.
I've tried about 5 or 6 different combinations, but it still gives an xmath with an answer of 1 every time.
isaacc
20 years ago
20 years ago
Boner, does it do that even when you tag the phrase with "raw"? That's what I'd try first...
Boner the Clown
20 years ago
20 years ago
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...
SubliminaLiar
20 years ago
20 years ago
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
cigicigi
20 years ago
20 years ago
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?
How do change Keyphears. I'm try ing to make a Trukish bot but i can't how i can do it?
revscrj
20 years ago
20 years ago
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).
My favorite animal is (animal).
The Professor
20 years ago
20 years ago
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.
revscrj
20 years ago
20 years ago
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.
isaacc
20 years ago
20 years ago
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.
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.
» More new posts: Doghead's Cosmic Bar