vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   TomBot v1.1 vB AI User Bot (https://vborg.vbsupport.ru/showthread.php?t=48053)

corn 02-02-2003 07:08 PM

when I post a message on my board, my bot wil respond:
Code:


       
Quote:

       
       
               
       
       

                       

                       
                                en ik blijf nog ff testen.
                       
                       

               


        <html>
        <head>
        <title>Program E Tester</title>
        <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
        </head>

        <body bgcolor="#FFFFFF" text="#000000">
        <form name="form1" method="post" action="talk.php">

        Talk to: <select name="botname">
        <option value="Bone">Bone</option>        </select><BR>

          Input: <input type="text" name="input" size="55">

          <input type="submit" name="Submit" value="Submit">
        </form>
         
        </body>
        </html>
 ^:^

little bit strange :P

Erwin 02-02-2003 09:22 PM

Quote:

Originally posted by Radgam
Edit:
Okay, tested everything and it works fine. I'm currently working on the annabot AIML files and i'll let you all know when i'm done :)

Should i release it as a seperate/addon hack?

Yes. Release it as a separate hack addon, basically because you can give support to it in a separate thread. Plus you seem to have put a lot of work into it. :)

OzRoy 02-02-2003 10:50 PM

Quote:

Originally posted by Radgam
tested, and yes, this bot does seem more intelligent. Works fine without many modifications either. sadly there are a few problems in one of the XML files (the "topics.aiml" file), so you need to sort out some tags, but asides from that, conversation is much better than with alice.
OK I just installed the anna AIML. There are a LOT of errors. I'll list them all here so you can fix them up if you really want to.

File: D.aiml
Line 6210 Put </srai> after <star/>

File: test.aiml
(forgot to write down the line)
Change </categroy> to </category>
move </aiml> to end of file

File: topics.aiml (This is the big one)
Line 163 remove stray <li>
Line 168 add </srai> before </template>
Line 184 change <li> to </li>
Line 183 change <get ... > to <get ... />
Line 335 remove stray <li>
Line 670 add </template> </category>
Line 765 add </li>
Line 774 add </template>
Line 813 change to </template>
Line 942 remove </random>

I think thats all. Make sure you check what you are putting in. I may of made a couple mistakes in my notes. But at least you now know where the errors are appoximatly.

Schorsch 02-03-2003 01:35 AM

anybody got this working with the german bot files ?

Radgam 02-03-2003 08:41 AM

thanks :)
I got most of them on the last page (i think) and uploaded a zip but i'll double check before releasing it. I also noticed that program e can't handle things like <person /> only <person/> (noticed the second doesn't have the space) so that will be sorted in the AIML files for Anna as well.

I hope to have everything ready today but i'm changing part of the install file (so the bot is more accurate with things like it's name) and i have to write another set of files so you can have a male bot as well as a female bot (which works better than using <bot name="gender"> as you can't use it in a AIML <pattern> match).

~Radgam

Radgam 02-03-2003 06:15 PM

I've got an idea for what you might call a "superhack"! ;) But i would need help from anyone/everyone interested in AIML & the alice bot to contribute if you can because it's way too large a project for me to write on my own (or maybe i could but i'm slow, unimaginative and it would probably take me a life time!).

If you've looked through patterns and template answers in the AIML files you'll probably notice that all conversation is actually very specific to the purpose it was written, that is, to finish high in that AI competition. It's probably the best thing to do if you want to win, but it's not very helpful if you want to use it on your site. For example, a large amount of the annabot files are based on Atlanta as that is where the competition was held (well, quite a bit of it is anyway).

vbAI: That would be the artificial intelligence files used to power the system. These would be written by anyone interested in AI (including myself) to be fairly non-specific meaning when you install the bot on your forum is when you actually make everything more specific (ie: placenames - all talk relating to the place your bot 'lives' would just be a variable and would be set when the bot is installed). This would be the same with the bots name etc.

cAIML: Conditional Arificial Intelligence Markup Language - Mostly the same as the ALICE bot is, but with a twist. I've noticed on my own forum where the bot is installed, and by looking though the AIML files you will sometimes see things like
<template>do you like living in <get name="location"/>.</template> - that's all good and well, but what if the bot doesn't know where that member lives yet? You get "do you like living in ."

cAIML would allow you to use PHP coding (or similar) in a template, to find out first if that information on someone is actually known. If so, proceed with the template, if not, ask them where they live then come back to the template.

---------------------

Okay, i know it's a pretty large project but i think if it was a combined effort (esp with writing the AI files) we could make a pretty cool AI system and with better discussion than the ones currently out there.

If anyone is insterested, let me know :) Also, i'm not the best php programmer in the world (understatement!) so even if you aren't interested in AI, help with the programming side is just as important as i haven't work out how to do all of the stuff yet :)

Shane_2k 02-03-2003 07:18 PM

Hi will this work with 2.2.2

thanks .alot

Automated 02-03-2003 07:23 PM

Quote:

Originally posted by Radgam
I've got an idea for what you might call a "superhack"! ;) But i would need help from anyone/everyone interested in AIML & the alice bot to contribute if you can because it's way too large a project for me to write on my own (or maybe i could but i'm slow, unimaginative and it would probably take me a life time!).

If you've looked through patterns and template answers in the AIML files you'll probably notice that all conversation is actually very specific to the purpose it was written, that is, to finish high in that AI competition. It's probably the best thing to do if you want to win, but it's not very helpful if you want to use it on your site. For example, a large amount of the annabot files are based on Atlanta as that is where the competition was held (well, quite a bit of it is anyway).

vbAI: That would be the artificial intelligence files used to power the system. These would be written by anyone interested in AI (including myself) to be fairly non-specific meaning when you install the bot on your forum is when you actually make everything more specific (ie: placenames - all talk relating to the place your bot 'lives' would just be a variable and would be set when the bot is installed). This would be the same with the bots name etc.

cAIML: Conditional Arificial Intelligence Markup Language - Mostly the same as the ALICE bot is, but with a twist. I've noticed on my own forum where the bot is installed, and by looking though the AIML files you will sometimes see things like
<template>do you like living in <get name="location"/>.</template> - that's all good and well, but what if the bot doesn't know where that member lives yet? You get "do you like living in ."

cAIML would allow you to use PHP coding (or similar) in a template, to find out first if that information on someone is actually known. If so, proceed with the template, if not, ask them where they live then come back to the template.

---------------------

Okay, i know it's a pretty large project but i think if it was a combined effort (esp with writing the AI files) we could make a pretty cool AI system and with better discussion than the ones currently out there.

If anyone is insterested, let me know :) Also, i'm not the best php programmer in the world (understatement!) so even if you aren't interested in AI, help with the programming side is just as important as i haven't work out how to do all of the stuff yet :)


I am in the process of setting up a community site that will serve as the AI chat bot development forums. I will be promoting it so that people will come and chat with the bot about as many diverse topics as possiable and also allow members to submit "intelegence" to the bot and once it is verified by a Mod or admin it will be added to the database.

Then the database will be released :D

I cant wait to get the ball rolling, I am also looking for a PHP knowledgeable VB hacker to help me with a small bit of the project (NO AI knowledge is required)

Thanks
Matthew

Shane_2k 02-03-2003 07:56 PM

HELP i get a BIg nasty error
Loading startup.xml

Warning: OpenDir: No such file or directory (errno 2) in /usr/local/psa/home/vhosts/nok-forums.co.uk/httpdocs/vb/alice/src/admin/botloaderfuncs.php on line 531

Warning: Supplied argument is not a valid Directory resource in /usr/local/psa/home/vhosts/nok-forums.co.uk/httpdocs/vb/alice/src/admin/botloaderfuncs.php on line 532

Warning: Supplied argument is not a valid Directory resource in /usr/local/psa/home/vhosts/nok-forums.co.uk/httpdocs/vb/alice/src/admin/botloaderfuncs.php on line 540
DONE LOADING
Inserted 0 categories into database

WARNING! You should password protect the admin directory or remove the botloader.php script or people may be able to abuse your server.
Click here to talk to the bot

execution time: 0.258089
Templates per second=0
Templates per minute=0

please help

Shane_2k 02-04-2003 05:58 AM

anyone please help


All times are GMT. The time now is 08:39 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01788 seconds
  • Memory Usage 1,765KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete