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,253 - 7,264 of 7,766
Posts 7,253 - 7,264 of 7,766
BotMaster2000
6 years ago
6 years ago
Yet another problem. Now all but one of my bots that I've tried it on is now unable to store more than one value for any given self memory (except for the first one, that is caching memories just fine!). It was working before, and it said it was going to merge memories on the debugger, so I don't know what's up.
BotMaster2000
6 years ago
6 years ago
@stevensrd1 I was really impressed by Webo. I hope my bots can learn like that someday.
bobstack
6 years ago
6 years ago
BotMaster2000 maybe you could learn how to make a chatbot learn from aiml.bot libre has some aiml scripts to make a chatbot learn.
I have chatbots on there i made.
I have chatbots on there i made.
BotMaster2000
6 years ago
6 years ago
Ok, thanks bobstack. I looked it up and it looks really cool. I'll be sure to check it out some more and try to learn how to use it.
Nathan S
6 years ago
6 years ago
Hey Botmaster, did you ever figure out how to get your bot to remember plugin results? (I know this was from awhile ago, but I just now saw the post.
This is how I do it.
KP: i am (p:namecatch-m|p:namecatch-f|p:namecatch-u)
AI Script: rem (key1) as only "name"
User input: I am Robert
Response: '(mem-name).' She echoes as though tasting the name and trying to determine if she enjoys it. 'Should I call you (mem-name) then?'
You get the idea, in the case of your ai script try replaceing (plug-in) with (key1) and see if that works.
This is how I do it.
KP: i am (p:namecatch-m|p:namecatch-f|p:namecatch-u)
AI Script: rem (key1) as only "name"
User input: I am Robert
Response: '(mem-name).' She echoes as though tasting the name and trying to determine if she enjoys it. 'Should I call you (mem-name) then?'
You get the idea, in the case of your ai script try replaceing (plug-in) with (key1) and see if that works.
BotMaster2000
6 years ago
6 years ago
Hi, Nathan. I was trying to get my bot to remember the results of plug-ins that come up in its responses to keywords. The only way that I've found is to make sure that the plug in is in a question the bot is asking (for example: Would you like a (p:type-of-food), (name)?), and then when the person answers in the affirmative, even if they just say "yes",it will be automatically translated by the macro into something like: Yes, I would like a (p:type-of-food). Then it can be captured by the mem Ai script.
Bobstack, could you post a link to Sheila Strong? I tried to find her, but she didn't come up in the results.
Bobstack, could you post a link to Sheila Strong? I tried to find her, but she didn't come up in the results.
Nathan S
6 years ago
6 years ago
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.
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.
Nathan S
6 years ago
6 years ago
*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.
The only thing I can think of would be to offer the user two types of food and make them choose.
Sorry about that.
bobstack
6 years ago
6 years ago
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.
name=sheila strong
categories=entertainment
tags=female
rating=Mature
You have to know how to work the websight.
» More new posts: Doghead's Cosmic Bar