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,953 - 6,964 of 7,766

13 years ago #6953
The lengths of conversation shouldn't be affected by insults unless you have hang up or have the adult filter on. It should just return the insults from the xinsult or any keyphrase that you have for an insult.

13 years ago #6954
How does one prevent hangups?

13 years ago #6955
Sorry to double post. But My bot hangs up as soon as I speak with him, how do I stop this?

13 years ago #6956
tell him/her you love him/her a couple of times, that should raise the bots'emotion value it has for you

13 years ago #6957
Also, try it first in Debug then in your chat.

13 years ago #6958
Number words are preprocessed to numbers expressed in figures. For number processing, this is a great idea, but it can look a bit ridiculous when a bot catches as a key something like

one another, the other one, one two three

and puts the preprocessed form of this into its response.

13 years ago #6959
Is it impossible to compare a memory to other memories? For example, the following condition is not accepted:

<?PF if (self-talkedto) is not (name) [...] ?>

I get this error message:
ERROR: The following AIScript statement is incorrectly formatted: "if (self-talkedto) is not (name)". Please correct this and try again.

13 years ago #6960
I might be wrong, probably am,
<?PF if (self-talkedto) is not "Big Bubba"; ?>
I think you would have to declare the name or use two statements.

13 years ago #6961
I know that "hard-coded" names work, but the point is that I want to compare that memory to the name of the current user.

Sorry, I don't quite get what you mean with "declare the name or use two statements".

13 years ago #6962
I am lost. You want a self memory compared to the user.
You have the name of the user? I meant using the name like Big Bubba or Bertha.
You can use multi statements. I don't think you can use (name) you might try. with parenthesis.
<?PF if (self-talkedto) is not "mem-name"; ?>;
<?PF if (mem-name) is "what ever"; ?>;
<?PF if (self-memoryname) does not exist; ?>


13 years ago #6963
No, it can't be done, I believe this was asked, tried and tested 2 - 3 years ago. It wasn't possible then as it isn't now

13 years ago #6964
Comparing memories with memories would make lots of sense, I think. (Maybe memories with plug-ins too.)

-----

I'm just considering whether it would make sense to enter a keyphrase (and response) like

(.*)(re) [-4,0] <?PF raw ?>
    Goto xnone

to prevent bots hanging up in contests because of too many BLABs in a row.

(it must be a regex, for any keyphrase starting with "*" or "(*" wouldn't be accepted.)


Posts 6,953 - 6,964 of 7,766

» More new posts: Doghead's Cosmic Bar