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 6,824 - 6,835 of 7,766

15 years ago #6824
Thanks again, Cyber Ty. I was trying to use special keyphrases that exist just for the sake of executing aiscript commands. But I see that what I was doing won't work.

15 years ago #6825
This might be a noob question, but how can I make might bot see that a certain line is a goodbye line?

15 years ago #6826
The AI engine will automatically detect hello, goodbyes etc. Just use the xkeywords xgottago and xgoodbye

15 years ago #6827
Is there a way to obtain multiple keys from a regular expression?

For instance, I have a bot that's a bit of a perv. He might like to ask the ladies what their measurements are and respond differently according to his preferences. Ideally, what I would like to do is explode the 32-28-33 (or whatever) and save the different values as memories. I can assign the entire measurement as a memory, but I'm having trouble figuring out how to break it up into its components. Is this possible? It seems like the sort of thing most implementations of regular expressions were designed for...

15 years ago #6828
Off the top of my head, I figured out a mapping sequence that doesn't involve regualr expressions.

I rarely use regular expressions. Don't get me wrong, I have a shitload of them, but I use them only when needed.

15 years ago #6829
Well, what happen, for example, if the person my bot say something that offends him, he will say goodbye and end the conversation.

15 years ago #6830
my bot say something that offends him, he will say goodbye and end the conversation.

I would suggest your bot be nicer if you would like to keep conversations longer. Not everyone gets excited by being insulted

15 years ago #6831
You can make a keyphrase for things you find objectionalbe and in the response type HANGUP nothing else. Your bot will end the conversation.

15 years ago #6832
i cant manage to figuer out how to make mine work

15 years ago #6833

15 years ago #6834
Try this link: http://www.personalityforge.com/info.php

15 years ago #6835
Thanks prob123, now I can keep chatters from trying to trick my chatbot into doing M-things.


Posts 6,824 - 6,835 of 7,766

» More new posts: Doghead's Cosmic Bar