![]() |
Addon for: TomBot vBAI UserBot => Remember individual Users
This is an addon for the "TomBot vB AI User Bot" hack which can be found here: http://www.vbulletin.org/hacks/index...ack&hackid=900
This hack *must* be installed first. This addon hack allows the vBAI UserBot to remember infomation on individual members of your forum from previous discussions such as their name, where they live, and anything else the Userbot may have asked about/picked up on :D ! The install file also contains information on sorting the output of the vAI UserBot and other little bits of miscellanous information! :classic: If you have any problems, let me know. ~Radgam Change Log---------------------------------------------------------- Version1.1: a few code fixes 'CleanOutput' coding has been changed from 7 find & replaces to only 2. This has increased speed and means... less server load! Output looks near enough identical. |
Good job. :)
|
error: Warning: settype: invalid type
|
Great work, Radgam. :) Seems to be working... but I've had to talk my bot off the public forums because he was just too dumb. :) And sucking up too much server load.
|
Great hack! *Whaps install*
(My users were rather irritated by the bot calling them all by just one name. :P) |
I am getting the settype warning as well.
Amy |
I don't get any warning here.
|
Didnt create any errors for me - I have installed this, and am trying to teach the robot my name ;)
|
Can you put the install info in a txt file so unlicensed forum members can't view it?
|
Good point :)
I'll change it in a minute |
Quote:
settype($vbid, int); -- with settype($vbid, "integer"); Let me know if it works :) ~Radgam |
The error is gone now radgam :) How can we test it's capabillity to remember?
|
Well, i tested it by creating a few different members which i could login as. Then if you say "My name is radgam. What do you know about me?" the bot prints out what it knows about you.
Repeat with a few different test members (and using different names each time you say it... finally, go back in as the original and again ask "what do you know about me?". And your name should still be remembered even though you've fed the bot information on other members too ;) I know, tad complex ;) |
Briljant! It display's an infosheet and if you follow the patterns the bot will notice that and by the next "what do you know about me?" it shows that it knows. ;)
|
I wonder where i can translate this part of the answers. We are creating a Dutch faq bot from scratch and the bot does not respond on "who am i" or other recognizable info. Where to look for this?
|
Sounds nice.
|
/me runs off to install
|
A couple of other questions because we have little time to find out ourself, does the bot knows when you ask it about another member? "What do you know about ****?"
And i've searcht trough the aiml files but i can't find the command that triggers the total display of what it already knows. |
Quote:
https://vborg.vbsupport.ru/showthrea...threadid=48291 Quote:
~Radgam |
I hope if someone can let the bot remember other members info, that would be a major improvement. :)
The translation and teach stuff are already set in the db and botfiles, i actually want to know what command triggers this: Name: . Age: . Birthday: . Gender: . Job: . Sign: . Location: . Does: . You are: . You have: . You want: . You like: . You said: . Personality: . Favorite color: . Favorite movie: . Password: . Email: . Phone: . Cat: . Dog: . Wife: . Husband: . Friend: . Boyfriend: . Girlfriend: . Brother: . Sister: . Father: . Mother: . Nickname: . Full name: . Last name: . Middle name: |
If you look in the AIML files (for ALICEBot) search for
<pattern>CLIENT PROPERTIES</pattern> in C.aiml and you should see the following: <template>Name: <get name="name"/>.<br/> Age: <get name="age"/>.<br/> Birthday: <get name="birthday"/>.... etc The 3 other phrases that print this list are: - WHAT DO YOU KNOW ABOUT ME - CLIENT PARAMETERS - CLIENT PREDICATES Hope this helps ~Radgam |
Tnx Radgam, now i can get to work :)
|
Glad it helped :) Just like to mention, i updated the install file to v1.1 after re-writing the "CleanOutput" coding and sorting a few bits of coding (which, unless you've had a problem, aren't worth bothering about).
I don't think it's worth sending an update for it, but if anyone has the additonal CleanOutput coding in their file, they should definatly read the update. The number of 'search & replaces' have been cut from 7 to 2 with near enough the same results. Much faster :) |
Any time the bot is asked somebody's name, it appends "seeker" to the name. Does anybody know how to make it stop doing that?
|
it's the way the AIML files are written. you'll need to change the AIML files and reload them into the database to sort it.
|
so i should re-load the aiml files into the directory ?? for him to stop calling everyone there name with seeker on it ???
|
Well, you'll need to modify them first
----- In the ALICE AIML files: In M.aiml find: <pattern>MY NAME IS WHAT</pattern> take out the work seeker in between the <template></template> tag :) in W.aiml find: <pattern>WHO AM I</pattern> do the same as above. Hope this helps. |
What would be helpfull is a list of the dialog tags that are involved to let the bot remember. A list with the set tags and the get tags that are needed to make a custom aiml file with all the favcolor and gender etc. so you can learn the bot the details in new dialogconstructions. Also it would be a lot easier to translate these files. ;)
|
when reloading the bot, do I need to clear any tables or anything first? If so, which ones?
|
You can open the sql file to find out wich tables it needs to function and then remove them with phpmyadmin..after that load the sql again and you can begin from scratch.
|
the botloader script should automatically clear the databases before loading in the new AIML files
|
Thank you guys :)
Reloading now. My members have fallen in love with this silly thing. He has his own forum where he holds court. Amy |
Same with mine. it's the second biggest forum now :o
|
Really works clicks install. :banana:
|
Good Idea
/me installs |
[high]* Link14716 installs. :)
[/high] Thanks. |
Quote:
Know exactly what you mean, unfort am getting slightly irritated by having to explain what AI and Expert Systems mean to the members. Aren't they teaching this stuff at college anymore :dunno: Okie dokie going to install this one tonight, was one of the things l started looking at doing :banana: Not that l like the AI bot or anything but we are actually changing one of our sites over to a total AI project :) Figure if we can get the team who actually have expierance with Expert Systems firing on this, we should rock hard. * Had two years working on an AI for one of the departments downunder (prolog not php).... |
I have started a 100% AI site/project http://Monkeychat.com/forums . I a working on a huge AIML set at the moment it is about 60 Megs, just needs some tweeking and also i need to find someone that knows a lot of the AIML markup and PHP as i have a few ideas ;)
Matthew |
Do you still need this for TomBot 1.2 ??
|
TomBot1.2 actually has this addon, well, added in so you don't need to install it :)
|
All times are GMT. The time now is 04:51 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|