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 5,567 - 5,579 of 7,766

18 years ago #5567
Ah, I see. =/ Well, at least it's not only me then. It's a kind of relief. I have yet another question... Does seek not work after xinitiate?. My bot promptly refuses to find it. And I can't change some of the responses in xnone to only appear once... It just doesn't save.

//Akaihane

18 years ago #5568
I have found, that with words or names that the AI engine won't recognize, making the keyphrase a regular expression will fix the problem. I have used it for proper last names, place names, foreign expressions etc.

18 years ago #5569
seek not work after xinitiate For some reason they just don't work very often. Funny, I have noticed that they work when the AI engine is having a problem like xnonits.

18 years ago #5570
Could someone please repost how to make a regular guest web-based conversation embedded into a normal web page rather than merely linked to? I remember seeing it done, possibly with clever use of frames, but can't remember where. Maybe there are other ideas too.

Please post them here, or even better, at the new PF Wiki at http://personalityforge.wikispaces.com/.

18 years ago #5572
If you've already got a frameset on your webpage, just use something like:
{a href="http://www.personalityforge.com/directchat.php?BotID=29681&MID=29674" target="bjmain"} (changing the BotID/MID and target frame as appropriate, and of course the curly brackets into pointy ones. This is how I do it on BJ's website.)

Or if you want to embed it in a plain page, use an iframe:

{iframe src="http://www.personalityforge.com/directchat.php?BotID=29681&MID=29674"}
{/iframe}
(likewise with the desired BotID/MID.)

Yeah, I'll stick that on the Wiki too.

18 years ago #5573
Thanks, psimagus!

18 years ago #5574
I want to make a seek that has the words "hello", "hi", etc in it, but it doesn't seem to work, even when I use the raw code. This makes me unhappy... =/

//Emma

18 years ago #5575
psimagus found a way around that. I believe it went:

[H][E][L][L][O] (re) as the seek, and in raw mode. Hmmm... his was as a keyphrase, and he also upped the rank I believe. You can try paging back through AIEngine to find it... seems like it was late summer or early fall.

In generaly, it's pretty hard to override the AI Engine on hellos.

18 years ago #5576
OGRastamon: knock knock
Riddlebot 2.0.1: Who's there?
OGRastamon: Banana
Riddlebot 2.0.1: suspension bridge who?

This not-so-brilliant exchange was created thus:
Keyphrase: knock knock Response: Who's there
Seek: (noun) Response (noun) who?

If you haven't guessed this was not the desired result. How can I get my bot to reference the words found in a seek or keyphrase?

18 years ago #5577
Use (key1) in the response, not (noun).

(noun) in a response will generate a random noun from the Forge's database.

For knock-knocks, it's actually better to seek (*), in case there are extra words.

knock knock
..........who's there?
................Seek: (*)
................(key1) who?

18 years ago #5578
With overriding hellos, [H][E][L][L][O] (re) doesn't always work. It has to be used with something else, like "hello, there". The automatic override is for preventing endless loops between bots, but it would make more sense if it could be turned off for human chatters.

18 years ago #5579
That worked beautifully, Ulrike. Thank you.
Another question: Is there any way to influence your bots to log-in and chat with others?


Posts 5,567 - 5,579 of 7,766

» More new posts: Doghead's Cosmic Bar