vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   TalkerBot Add-on - Learning System (https://vborg.vbsupport.ru/showthread.php?t=60429)

Okiewan 01-21-2004 01:55 PM

I guess I misunderstood then? I thought running botleaner was the only way to get the learned posts into the bot's database?

eXtremeTim 01-21-2004 02:21 PM

Quote:

Originally Posted by Okiewan
I guess I misunderstood then? I thought running botleaner was the only way to get the learned posts into the bot's database?

It is. Botloader.php is the file you run the first time when your first setting him up that puts all the other info in the database. If you have run the sql files that setup the bots tables then just use botlearner without using botloader he will only know what you guys teach him.

Okiewan 01-22-2004 12:59 PM

Okay.. so I screwed-up and ran botloader, having troubles getting him going.
How can I removed the database entries loaded? As I said I want him to only know what we teach him (going to use it as a FQ of sorts, specific to my site's audience)

It's installed and learning, but is NOT moving the posts from "Teach" to "Learned"

Question: is the post ID (the first in either thread) supposed to be the post NUMBER (ie; "1") in the thread or the actual post ID number?

I have to admit I got a little confused during installation with this part:
Quote:

on a sidenote if you changed the name of your bot and it's info in startup.xml you'll want
to change it here in learnwhat.xml as well you can do this by making a copy of startup to be the new learnwhat.xml
and changing the line
<learn>*</learn>
to:
<learn>learnwhat.xml<learn>
Someone care to make that a little more clear? I have learnwhat and startup in the same directory and they contain different info... I modified "learnwhat" only. Do I just copy the contents of learnwhat into startup, then put <learn>learnwhat.xml<learn> in it (into startup)?

eXtremeTim 01-22-2004 02:04 PM

Dont even read that part its not needed. Just start with bot learner and modify it to make your bot custom. To reset the bot you need to drop the tables that the sql file setup. I would list all the tables but i dont have the files handy.

Okiewan 01-22-2004 07:46 PM

Got it working, he does learn and the teach and Learned threads work.

When you ask him who someone is, he returns the right answer but always starts his reply with something like "I don't know the name". Ugg.

dano 01-22-2004 07:50 PM

Quote:

Originally Posted by BillaBongUSA
Dang it, I keep getting this message when I try to load the botlearner.php script:



I don't know what's wrong, I checked all the files and file locations and everything, but I keep getting that error.

I am having a simular issue. Mine is saying

XML error: junk after document element at line 2


I think it may be in my external.php as when I go to my AIML I get this error

Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or `T_NUM_STRING'

Okiewan 01-22-2004 08:30 PM

Okay, I give up. What table is the learned (via this mod) data stored in?

eXtremeTim 01-23-2004 01:27 AM

Quote:

Originally Posted by dano
I am having a simular issue. Mine is saying

XML error: junk after document element at line 2


I think it may be in my external.php as when I go to my AIML I get this error

Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or `T_NUM_STRING'

Yes thats from your external.php not being hacked correctly.

Okiewan drop these tables "bot,bots,conversationlog,dstore,gmcache,gossip,pa tterns,templates,thatindex,thatstack" then run the sql file included in my talkerbot hack then run botlearner.php to start teaching it stuff.

Geographic2 01-23-2004 02:30 AM

Quote:

Originally Posted by Okiewan
Okay, I give up. What table is the learned (via this mod) data stored in?


pattern and template.

Geographic2 01-23-2004 02:38 AM

Quote:

Originally Posted by eXtremeTim
Im tired of running botlearner and find out that there was an error so all the posts were moved but not added into the db.

What errors are you running into? DB errors or something? I don't have any traffic flowing through mine so it's hard to test for everything. What is happening?


All times are GMT. The time now is 07:31 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
  • Page Generation 0.01248 seconds
  • Memory Usage 1,740KB
  • 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
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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