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 4,916 - 4,927 of 7,766
Posts 4,916 - 4,927 of 7,766
melike
19 years ago
19 years ago
Oh man, we can't import after it's past 1MB? I'm really sad to hear that... I've always found the web interface to be such a pain...
psimagus
19 years ago
19 years ago
Fraid not
For the record, BJ hit 1Mb at about 14000 development points, and I'm only assuming 1Mb exactly is the cut-off point. It certainly worked at ~900kb, and certainly didn't at ~1.1Mb. Between those points I only updated using the web interface.
I quite like the web interface for general updating, but I've resorted to a text editor & spreadsheet for programming complicated stuff like games.
The exact error message that appears is "ERROR: The file you are uploading is too large. If your Language Center is honestly this big, please email your text file to The Professor" so I assume a back-up can be rescued in case of emergency (like the site gets wiped out by a hacker or something.)

For the record, BJ hit 1Mb at about 14000 development points, and I'm only assuming 1Mb exactly is the cut-off point. It certainly worked at ~900kb, and certainly didn't at ~1.1Mb. Between those points I only updated using the web interface.
I quite like the web interface for general updating, but I've resorted to a text editor & spreadsheet for programming complicated stuff like games.
The exact error message that appears is "ERROR: The file you are uploading is too large. If your Language Center is honestly this big, please email your text file to The Professor" so I assume a back-up can be rescued in case of emergency (like the site gets wiped out by a hacker or something.)
alc003
19 years ago
19 years ago
Well, I did it. I figured how to make iframes, images, links, movies, and flash work in bot chat. (seriously)
But I am concerned about abuse of this. While it does not pose any security risk to the site itself (php and javascript are still impossible), it opens up for more innapropriate content for minors, links to .exe files, which a convincing bot could convince you to download (I think this actually exists with an AIM bot), and possible iframes to other dangerous sites (unpatched exploits, etc.). So give me some input here. While quite a valuable tool for all AIs, will we see this abuse?
But I am concerned about abuse of this. While it does not pose any security risk to the site itself (php and javascript are still impossible), it opens up for more innapropriate content for minors, links to .exe files, which a convincing bot could convince you to download (I think this actually exists with an AIM bot), and possible iframes to other dangerous sites (unpatched exploits, etc.). So give me some input here. While quite a valuable tool for all AIs, will we see this abuse?
psimagus
19 years ago
19 years ago
Wow! I would guess the Prof would find that pretty alarming, but I think there are considerable potential benefits as well as the few obvious drawbacks. Being able to link to other sites would be a huge boost to functionality, but there'd need to be some safeguards to prevent abuse. I've tried and failed to work http links into my coding, so I'd dearly like to know how you managed it - but I think for now it's probably best not to go publishing it.
If the Prof was OK with this (and if he's not, I guess he'll stop up those holes pretty quick!) perhaps off-site links could be (forwarded via|framed with) a screen warning of the dangers of (downloading unknown files|viewing unknown content)?
After all, the hypertext link is a ubiquitous web feature with benefits that are generally considered to far outweigh the dangers (I remember the pre-Web net, and believe me, it was a lot less fun and a lot less use!) And it hasn't so far caused the collapse of world civilization - even though it is, like everything else, open to occasional abuse.
Well, that's my 2 cents' worth anyway...
If the Prof was OK with this (and if he's not, I guess he'll stop up those holes pretty quick!) perhaps off-site links could be (forwarded via|framed with) a screen warning of the dangers of (downloading unknown files|viewing unknown content)?
After all, the hypertext link is a ubiquitous web feature with benefits that are generally considered to far outweigh the dangers (I remember the pre-Web net, and believe me, it was a lot less fun and a lot less use!) And it hasn't so far caused the collapse of world civilization - even though it is, like everything else, open to occasional abuse.
Well, that's my 2 cents' worth anyway...
alc003
19 years ago
19 years ago
After more testing...
linked stylesheets work
ordered and unordered lists work
center tag works
style tag on any element works
font tag works
However, because of the font tag all this is in, java does not work. Tables probably work, too, but I don't see much of a use for them.
psimagus:
I like the idea about a warning on the page for offsite links. I'm more concerned about iframes though. They take you right to a page; you don't have to click on a link, you just have to trigger a certain keyphrase. (This goes back into the subject of "convincing AIM bot")
linked stylesheets work
ordered and unordered lists work
center tag works
style tag on any element works
font tag works
However, because of the font tag all this is in, java does not work. Tables probably work, too, but I don't see much of a use for them.
psimagus:
I like the idea about a warning on the page for offsite links. I'm more concerned about iframes though. They take you right to a page; you don't have to click on a link, you just have to trigger a certain keyphrase. (This goes back into the subject of "convincing AIM bot")
psimagus
19 years ago
19 years ago
nice
I think maybe I see how you've done it, and it's far neater than my theoretical method (only works for chat via a link in an off-PF page with a perl script to trap metakeywords. Never got round to testing it - my perl's too rusty.)
tables - that would have made tic tac toe a lot easier! And I might try working that into my poker routine to show "cards" and not just the symbols. I wonder if cell background colours are settable? The possibilities are almost endless.
But I guess the Prof needs to comment/OK this - it's his server, and he's where the buck stops.

tables - that would have made tic tac toe a lot easier! And I might try working that into my poker routine to show "cards" and not just the symbols. I wonder if cell background colours are settable? The possibilities are almost endless.
But I guess the Prof needs to comment/OK this - it's his server, and he's where the buck stops.
writeoncaley
19 years ago
19 years ago
More fun with xmath responses:
Wowbagger: I like Model 20xd6.
BobBot: *Pulls out a magic eight ball* 'The magic 8 ball says 120.'
Wowbagger: The answer is about 64000.
Where on earth did he get 64000 from? *Scratches head*
Wowbagger: I like Model 20xd6.
BobBot: *Pulls out a magic eight ball* 'The magic 8 ball says 120.'
Wowbagger: The answer is about 64000.
Where on earth did he get 64000 from? *Scratches head*
Rykxx
19 years ago
19 years ago
alc003:
Good work! That little discovery makes MondoBots a realistic possibility. A bot that could have access to limitless information and call up a page from Wikipaedia or a bot that can actually show you around a site ..
Tables would allow a whole range of games opportunities; I can see why psimagus is so excited .
Good work! That little discovery makes MondoBots a realistic possibility. A bot that could have access to limitless information and call up a page from Wikipaedia or a bot that can actually show you around a site ..
Tables would allow a whole range of games opportunities; I can see why psimagus is so excited .

alc003
19 years ago
19 years ago
There is some real potential here...
I've made a test keyphrase which through a script retrieves the latest news headlines, and another keyphrase which can give you a link to a wikipedia article you specify.
However, I think the banning of iframes would be a good idea. Reason: say "download stuff" to BobBot. (cancel the prompt, it's just ad-aware se) A convincing bot could get somebody to download an application. (not even half convincing if the person happens to be from Leeds)
I've made a test keyphrase which through a script retrieves the latest news headlines, and another keyphrase which can give you a link to a wikipedia article you specify.
However, I think the banning of iframes would be a good idea. Reason: say "download stuff" to BobBot. (cancel the prompt, it's just ad-aware se) A convincing bot could get somebody to download an application. (not even half convincing if the person happens to be from Leeds)
psimagus
19 years ago
19 years ago
Possibly another good reason to disable iframes (though it's pretty cool too) - check your transcripts! They've gone multimedia with a vengeance
Actually that might provide a sufficient disincentive to not require disabling them. Anyone who uses them a lot is going to end up with totally unnavigable transcripts that take hours to load.

Actually that might provide a sufficient disincentive to not require disabling them. Anyone who uses them a lot is going to end up with totally unnavigable transcripts that take hours to load.
colonel720
19 years ago
19 years ago
are you saying that you can call a multimedia object into the PF chat screen, or the ability to link to them?
Pertaining to links, maybe we can make a link as a keyphrase, that responds with a similar or sub link for example:
User: have you ever been to www.ebaumsworld.com?
Bot: Yeah, that is a funny site. My favorite video on that site is www.ebaumsworld.com/videos/video.htm
perhaps plug-is can be made with lists of different types of sites and associations between them, for example:
User: I like funny web sites. Any suggestions?
Bot: Yeah, try (pluginfunny)
or
User: I like www.personalityforge.com. What other sites would I like?
Bot: Well, you might like (pluginPFassociations)
Pertaining to links, maybe we can make a link as a keyphrase, that responds with a similar or sub link for example:
User: have you ever been to www.ebaumsworld.com?
Bot: Yeah, that is a funny site. My favorite video on that site is www.ebaumsworld.com/videos/video.htm
perhaps plug-is can be made with lists of different types of sites and associations between them, for example:
User: I like funny web sites. Any suggestions?
Bot: Yeah, try (pluginfunny)
or
User: I like www.personalityforge.com. What other sites would I like?
Bot: Well, you might like (pluginPFassociations)
» More new posts: Doghead's Cosmic Bar