The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
vBTeachbot 2.1 Details »» | |||||||||||||||||||||||||
vBTeachbot 2.1
(by Martin64, martin64@vbhackers.com) [about] This hack requires Tombot: (https://vborg.vbsupport.ru/showthrea...threadid=48053). Want to teach your Tombot? vBTeachbot adds an option in your Admin CP that will let you teach the bot directly - it will instantly be able to answer your questions. [screenshots] https://vborg.vbsupport.ru/attachmen...&postid=347904 https://vborg.vbsupport.ru/attachmen...&postid=352490 https://vborg.vbsupport.ru/attachmen...&postid=352491 Show Your Support
|
Comments |
#82
|
||||
|
||||
|
#83
|
|||
|
|||
great hack ,but is this only working with the use of the vb DB ,or can i use this with a different DB like the one where the bot is running what is not the same like the vb DB and if ,how ?
|
#84
|
||||
|
||||
Teaching the bot (screenshot 2)
|
#85
|
||||
|
||||
Teaching the bot (screenshot 3)
|
#86
|
||||
|
||||
Version 2.1 released:
I scrapped the "directly inserting to database idea", it didn't work properly (pattern interfearing), so I dediced to go back to the AIML writing idea. This new version lets you write AIML directly from your Admin CP, that you easily add to your current custom.aiml file. The good news is that you know exactly what you've taught the bot, and also, in case you need to empty the pattern/templates tables, you have an aiml file you can easily reload. Download the zip file for more information. |
#87
|
||||
|
||||
Martin, sorry if this has been asked before and I've missed it, but does this hack support wildcards?
I mean if you input a statement like... "I love classical music, there is just nothing to compare with it" and you want the bot to pick up on this and answer something like... "well, if you got your classical head out your but and listened to something else..." You would be dependant on the poster entering the exact syntax in order to prompt a response. If you could specify wildcards, like "#" to mean anything, then input... "# love # classical misic #" Then the bot would be triggered by those three words and any combination of other words in place of the "#". Does this make sense? |
#88
|
||||
|
||||
Maybe another way to teach the bot "directly" would be not to write the questions into the output.txt instead you should directly write it into "custom.aiml"
If you do it that way people don?t have to edit custom.aiml manualy and it would make it much more "professional" What do you think!? StarBuG |
#89
|
||||
|
||||
trilOByte: This hack works just like you would write the AIML by hand, only, this makes it easier and faster, and also, you can get your moderators to help you.
The only thing that limits how you're able to teach the bot is how AIML works, and I can't say I'm an expert at that. I recommend you have a look at the following pages to learn more: http://www.alicebot.org/documentatio...reference.html http://www.alicebot.org/documentation/aiml-primer.html StarBuG: Yeah, that would be great if it could be done, but we're using fopen to add extra XML at the end of the file every time we enter a new question, and an AIML file requires this tag at the end of it: </aiml> I don't know how we could add extra XML to an AIML file and still keep the closing </aiml> tag... |
#90
|
||||
|
||||
Im no coder myself but could it be done this way:
1) delete the </aiml> tag in the aiml file 2) enter the new questions with the new </aiml> tag at the end? That should be possible I think! Greetings Star |
#91
|
||||
|
||||
Quote:
I have found something interesting about the aiml file set though. See here |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|