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,240 - 7,251 of 7,766

7 years ago #7240
Can I build a short Time delay in to my bot answer..... The chatbot answers come up so fast it dose not feel natural. I would like to maybe build a short delay in to my answers, if possible. Thanks.

7 years ago #7241
So, could I use the debugger to somehow make keys out of speech patterns? Like if I put in a phrase such as "It's so important to your future that you not finish that sentence" could I one of the patterns that it generates to identify similar speech patterns? I tried the (p)(v)(r) (a) (e)(d)(n) (p) (p)(r) (v)(d) (n)sequence that the debugger listed when I put in the phrase as a keyword, but it couldn't identify it. Maybe the generated (NP) and (VP) sequence would work better?

Right now I'm working with phrases incorporating a few key words interspersed with * and (*) wildcards, and it's a bit hit or miss. The custom plug-in I made isn't really working at all.

7 years ago #7242
Why does this happen? When my bot responds to anything I say, it works perfectly, but theres a problem. It also triggers xnone or xnonesense most of the time i say something to him. So my bot says his response normally, and then after that he says a random xnone line. How do I stop him from saying so many xnone lines?

6 years ago #7243
Does anyone know if there is a way to use the Inner Life: Short term memories. This is not mentioned anywhere in the BOAI that I can find but it must be recorded for a reason.

6 years ago #7244
Yes, I was wondering about that too. It would be interesting be able to utilize them somehow.

6 years ago #7245
"Forgetting" doesn't seem to work. It won't accept it in the AI box at all. Not even when I tried copying and pasting the BOAI example after I couldn't get mine to work, so I'm pretty sure I'm not just making a mistake.

6 years ago #7246
Is there a way to get my bot to remember the results of a plug-in? For example, when someone says they are hungry, my bot will answer that they are making (p:food-drink).
Then the AI is "self: remember (plug-in) as "Iammaking" .
That doesn't work, though.

6 years ago #7247
Have a chat with webo, a teachable chat bot at http://theshop.hopto.org/chat/

6 years ago #7248
Is there a way to do probability? As in have two responses to a keyword, but one of them only comes up 1/100 times?

6 years ago #7249
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.

6 years ago #7250
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.

6 years ago #7251
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.


Posts 7,240 - 7,251 of 7,766

» More new posts: Doghead's Cosmic Bar