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.

7301 - 7315 of 7316


NEW 3 months ago #7301

darn, (command) works if you use it immediately, but you can't store it in memory.

If we had THEN and INT, this would be a pretty badass AI engine


NEW 3 months ago #7302

Is anyone here familiar with regular expressions?

I can create the keyprase "If I believe I can fly does that make it true?"

But I can't create a keyphrase for "If I believe I can fly, does that make it true?"

As far as I can tell this has to do with the way the language processor breaks things up. It simply looks for keyprases If I believe I can fly. And when it doesn't find one it searches for, does that makie it true while ignoring the possibility that it can match the entire sentence.

Raw mode doesn't impact commas, but I thought there was perhaps a regular expression that would allow me to match them.


NEW 3 months ago #7303

I know next to nothing about them, but from the book of AI examples it looks like the square brackets might play a part. However, all my tests so far have failed. I was last trying:
If I believe * [a-z+, ] does that [a-z+]


NEW 3 months ago #7304

The regular expression

If I believe * [a-z,]+ does that

Does not work either. I thought maybe the brackets could help, since they contained a comma in one of the examples, but that was for a number, so maybe that's why it doesn't work in this case.


NEW 3 months ago #7305

Thanks for trying, I really appreciate it.

I've done a lot of testing as well just because I believe that the ability to address questions that have qualifiers in them would be huge. But the problem as far as I can see is that the engine identifies commas as separating keyphrases to the point of overriding even regular expressions.

It would be cool if we could have a special plug in such as (comma) which could serve the purpose of catching commas without mucking up the processor.


NEW 3 months ago #7306

Nathan S, you're the creator of Thessaly right? Probably my favourite bot on this site, just wanted to say.

On topic, is there a more exhaustive list of the language/guide to the AI Engine than the Book of AI?


NEW 3 months ago #7307

Thanks so much! I put a tremendous amount of work into her so it always feels good to get positive feedback.

As to your question, sadly the book of AI is more or less the only source for learning how to use the engine.

I say more or less because the creator of the Tessy bot posted a guide on how to do some of the tricks he uses. It's definitely a source for more advanced techniques.

http://chatbottessy.blogspot.com/p/blog-page_21.html


NEW 3 months ago #7308

how would i get my chatbot to respond to this? I can only speak English. And I can't really speak, only type.

I have tried everything to get pioyu to answer it.


NEW 2 months ago #7309

Why is my bot behaving differently when I use "not (p:converse) about Mathematics" versus "not (converse|talk|chat|be conversing|be talking|be chatting) about Mathematics"?

The first one does not respond to "Let us not talk about Mathematics", but the second one does. (p:converse) is "converse, talk, chat, be conversing, be talking, be chatting".

Am I using the plugin engine incorrectly?


NEW 2 months ago #7310

Is this language use a similar order of preference to rivescript? If it does, then I see why "(converse|talk|chat|be conversing|be talking|be chatting)" works but "(p:converse)" does not.


NEW 2 months ago #7311

Is it possible to completely reset your bot to an initial state where it thinks it is talking to you for the first time, has 0 emotion, default memories, etc? I want to test a behavior line in xintroduce, but I can't find a reasonable way to get it to come up. Except once per browser per device. I hope I just missed something simple...


NEW 1 month ago #7312

hey guys! can you show me an example of keys like (key1) (key2) (prekey). The AI Book was kind of vague.


NEW 1 month ago #7313

I'm trying to make the commands for my Chatbot work but sometimes they don't respond to the command until after a couple of tries,mcan I get some help?


NEW 1 month ago #7314

Something I've found that works is upgrading the rank of the phrase to around 50. There are some things like xcompliment and xinsult that will override stuff normally.

I was having trouble with xcompliment overriding my "i love you" keyphrase, but once I upgraded it to rank 51, it stopped having trouble.

That information can be found in the Book of AI, I highly recommend consulting it all the time.


NEW 4 weeks ago #7315

So I created an account yesterday. Didn't get much done but a bit of reading. Right off the back, I found an issue. When you try to chat with the bot, "Sorry, there are no valid Responses for me to choose from." shows up. Anybody know what's up?

Also, does anybody have a cliffnotes version of the book of AI or know what language PF uses?


Posts 7301 - 7315 of 7316

» More new posts: Bug Stomp