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
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.
Posts 5,567 - 5,579 of 7,766
Akaihane
18 years ago
18 years ago
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
//Akaihane
prob123
18 years ago
18 years ago
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.
prob123
18 years ago
18 years ago
Bowchickawowers
18 years ago
18 years ago
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/.
Please post them here, or even better, at the new PF Wiki at http://personalityforge.wikispaces.com/.
psimagus
18 years ago
18 years ago
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.
{a href="http://www.personalityforge.com/directchat.php?BotID=29681&MID=29674" target="bjmain"}
Or if you want to embed it in a plain page, use an iframe:
{/iframe}
(likewise with the desired BotID/MID.)
Yeah, I'll stick that on the Wiki too.
Akaihane
18 years ago
18 years ago
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
//Emma
Ulrike
18 years ago
18 years ago
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.
In generaly, it's pretty hard to override the AI Engine on hellos.
OGRastamon
18 years ago
18 years ago
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?
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?
Ulrike
18 years ago
18 years ago
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?
(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?
alc003
18 years ago
18 years ago
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.
OGRastamon
18 years ago
18 years ago
That worked beautifully, Ulrike. Thank you.
Another question: Is there any way to influence your bots to log-in and chat with others?
Another question: Is there any way to influence your bots to log-in and chat with others?
» More new posts: Doghead's Cosmic Bar