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,249 - 7,260 of 7,766
Posts 7,249 - 7,260 of 7,766
BotMaster2000
6 years ago
6 years ago
Well, I don't know about out of a hundred, but you can do stuff like (result| | | ) which will give you a one out of four chance.
I'm not sure if goto's will work in parentheses. But if they do, you could go (result|goto #|goto #|goto #), with the goto's leading to the other possible response .
Beyond that, I would suggest looking at the book of AI.
I'm not sure if goto's will work in parentheses. But if they do, you could go (result|goto #|goto #|goto #), with the goto's leading to the other possible response .
Beyond that, I would suggest looking at the book of AI.
BotMaster2000
6 years ago
6 years ago
PS. Also, you could just do (result1|result2|result2|result2) as long as neither of the phrases is supposed to have its own unique AI script.
BotMaster2000
6 years ago
6 years ago
Hi again. I'm trying to figure out how to use the "typeof" feature.
I keep looking up words on the map included in the book of AI, but it never seems to work.
This time I looked up "possession", because I wanted a plug-in that would cover any object that is typically owned (strangely, (object) will not match nouns like "car"). So by looking at that and trying to follow the format I got "(typeof-possession_noun.Tops)"- no idea why "Tops" was suggested, but I just went with it because usually the ".word" does make sense- it did not not work. Nor did it work when I tried (typeof-possession-noun_Tops) or (typeof-possession-n). It seems like this would be very useful if I could just get the hang of it.
I keep looking up words on the map included in the book of AI, but it never seems to work.
This time I looked up "possession", because I wanted a plug-in that would cover any object that is typically owned (strangely, (object) will not match nouns like "car"). So by looking at that and trying to follow the format I got "(typeof-possession_noun.Tops)"- no idea why "Tops" was suggested, but I just went with it because usually the ".word" does make sense- it did not not work. Nor did it work when I tried (typeof-possession-noun_Tops) or (typeof-possession-n). It seems like this would be very useful if I could just get the hang of it.
LT Neko
6 years ago
6 years ago
Can we have a check box next to all our transcripts...? cx A way to keep track would be nice Maybe a *Updated* note if that user decided to talk to your bot again that day. ^~^
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.
» More new posts: Doghead's Cosmic Bar