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,565 - 5,577 of 7,767

18 years ago #5565
Thanks, all of you. I "solved" the problem similarly to what TrevorM described, but I had to sacrifice the "remember (*) as youtrain"-code... I can't find a way to get it to work for some reason. Oh well.

I also have a (possible) strange problem. My bot's transcripts never start on a new day/page, but all the scrips end up on the same day he was created... meaning I have a really long transcript now. =/ The transcript for me as a user doesn't have the same bug...

//Akaihane

18 years ago #5566
The transcripts being lumped on a single day is an ongoing bug. *crosses fingers that the Prof can fix it soon*

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?


Posts 5,565 - 5,577 of 7,767

» More new posts: Doghead's Cosmic Bar