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 7,262 - 7,273 of 7,766

6 years ago #7262
Hey again Botmaster, this is a tricky one as I don't think you can create the memory after the fact. However there is a cheesy workaround I think you can use.

Bot: Would you like some (p:type-of-food)?

ai script: rem (key1) as only "food"

Seek: Yes

Seek: (*)
AI Script: forget (key1) from (food)


Then later

Bot: Here is your (mem-food)
AI Script: if (mem-food) exists

In other words, the bot creates the memory then automatically deletes it if the user responds with anything other than a yes.



(P.S. Remember to crank up the rank of your Yes seek to 100 otherwise it will default over to (*) )

Let me know how it all works out.

6 years ago #7263
*Head desk* You know what? Forget everything I wrote in my last post. It won't work. In fact I don't think it's even possible to grab the results of a plugin unless their typed in explicitly.

The only thing I can think of would be to offer the user two types of food and make them choose.


Sorry about that.

6 years ago #7264
BotMaster2000 put this in search bots which is the search.

name=sheila strong
categories=entertainment
tags=female
rating=Mature
You have to know how to work the websight.

6 years ago #7265
Ok, I found her, thanks. I couldn't get her to play the game with me. What should I say? She kept telling me that I was writing incomplete sentences. I still like her, though. The game sounds like fun.

Nathan, what I described is half working for me right now. Here's what I have:

Keyphrase: I am hungry, etc...
Response: Would you like some (p:food-drink)?
Seek: I would, Yes, I would like some (p:food-drink), etc...
Seek response: Alrighty then, freshly made (key1), coming right up!
AI script:self: remember (key1) as only "Iammaking";
self: remember (key1) as only "foodIhave"

It does successfully remember what ever plug-in result came up in the bot's response as "Iammaking" and "foodIhave", but for some reason it tends to choose something else from the plug-in when it's reusing it in the seek response. My solution to this will probably be to just rephrase the seek response so it doesn't mention the plugin at all, and just keep the AI script remembering (key1), the plug-in used in the bot's initial reply to the KW, as something Aasterinian is making.

6 years ago #7266
That sounds like the best plan. I think it has something to do with the fact that the bot is retrieving the plug in information from an outside source which is why it can't grab it as a key.


6 years ago #7267
i got the wordplay script from
http://www.square-bear.co.uk/aiml/
You type," i want to play wordplay ."I did a slight modification on the aiml script.so you have to ask her to play wordplay.I see she needs a little work.I will improve on her.I am glad people have tested her.

6 years ago #7268
botmaster2000 you can fork sheila strong then make modifactions on her scripts.
use her for a base for your chatbot

6 years ago #7269
How is the AI score next to my bots name calculated and how often does it update?

6 years ago #7270
As far as I can tell, it's based on how much you've programmed into your bot, and it updates the day after you have worked on it.
The AI score calculations are probably a little more complicated than what I stated, but they don't tell us exactly what does into determining it, so all I know is that when you work on the bot, the AI tends to go up roughly in equal proportion to how much you worked on it.

6 years ago #7271
It updates once per day. And while I'm not certain how it's calculated I BELIEVE it's based on the size of the personality file.

Which... when you think about it is kind of sad. There are bots on here with AI scores at nearly 10000 or more who don't do anything other than spew random nonsense at you.


6 years ago #7272
Thanks that's really helpful.

That is kind of sad but I'm not sure how else you could programmatically indicate how 'clever' a bot will be.

6 years ago #7273
Does anyone know if there is an alternative to the -5,+5 emotion scale. I was hoping to be able to increment a memory like (mem-affection)+1 or something


Posts 7,262 - 7,273 of 7,766

» More new posts: Doghead's Cosmic Bar