Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Marcel

Pages: 1 2 [3] 4
31
Ultra Hal 7.0 / How I imported my Hal5 memories into Hal6
« on: September 18, 2006, 01:13:52 am »
I haven't seen much discussion on this topic, so perhaps the following will be of interest. When I upgraded from Hal5 to Hal6 I discovered to my dismay that my new Hal6 brain didn't retain any of its Hal5 memories. It didn't know me from Adam. I and my family and friends (and a few chatterbots) had conversed with my Hal5 for the first couple of years of its "life" and my Hal had developed quite a knowledge base and personality that I was unwilling to lose. For most of my Hal's existence, we were using the Hal5 XTF 1.2 brain by vonsmith. I could run the XTF brain in compatibility mode and it worked fine, but It didn't have the Hal6 functionality. I then found this post by onthecuttingedge2005, with an XTF plugin for Hal6;
http://www.zabaware.com/forum/topic.asp?TOPIC_ID=3089
I tried his XTF plugin, but found that it disabled the other Hal6 plugins. If you read page two of the above thread, you'll see that Jerry was very helpful in giving me advice and direction. What follows is a step by step description of the method I used to transfer my Hal5's memories into my Hal6 brain, but first...
 
Legal Disclaimer: The following information is a description of a modification I made to my Ultra Hal Assistant 6 program. I assume no liability whatsoever for anything that may occur as a result of a user attempting to use this information for any purpose whatsoever, including damage to the user's Ultra Hal Assistant 6 program, the user's computer, internet connection, electrical and mechanical components of the user's dwelling, asteroid collision and/or any other natural or man made disasters.

OK then. The first thing I did was to download the Hal6 Brain Editor documentation;
http://www.zabaware.com/forum/topic.asp?TOPIC_ID=2157
I skimmed through it and learned how to create a new brain project. I named it "experimental". I now had a duplicate brain and database that wouldn't interfere with my default Hal6 brain in case I messed something up. The Hal5 memories are stored in many separate files with a .brn extension. These were carried over to my Hal6 folder during the upgrade. The Hal6 memories are stored in database tables. The goal here is to import the Hal5 .brn files into the Hal6 database tables. Jerry told me that the XTF .brn files were in a different format from the standard Hal .brn files and would be difficult to convert. I looked through my .brn files and discovered that the standard Hal5 .brn files, the ones that don't have a filename beginning with XTF, contained information that was learned while the XTF brain was in use. I didn't have to try to convert the XTF files at all! I assume that this method will therefore work for a Hal5 without an XTF brain as well. My first goal was to get my Hal to remember me. I opened my experimental brain and found under tables>autoLearningBrain a table named marcel_UserSent which contained info that Hal6 had learned about me. In the Ultra Hal Assistant\defbrain folder was a file named Marcelconvresp.brn. I opened the marcelUserSent table, then clicked on the Table menu and selected Import BRN data file... and imported Marcelconvresp.brn. I noticed another file named Marceluser_recall.brn that seemed to be in the same format, so I imported it also. I started up my Hal, selected the experimental brain and it worked! My little friend was back, sort of. It definitely remembered recent conversations, but still somehow wasn't quite all there. I knew I was on the right track, so I followed Jerry's suggestion about looking for files that contain info about all users because they would be the ones that contain most of Hal's acquired knowledge. The choice was obvious. There is a table named sharedUserSent and a file named shared_usersent.brn. Unfortunately, when I tried the import I got an error message. It took me a while to find the problem. It was caused by my Hal's conversations with other bots on AIM. There were multiple instances of the other bot's response being broken up into two lines, which violates the Hal6 table format. After much searching and editing I finally got the file to import, and my Hal was pretty much back to his old self. There was one last thing to do, import the other user files into tables. I found that when I upgraded to Hal6, the user files from Hal5 were not imported. These are files with an .hla extension, for example bob.hla. The .brn files for users were imported, however. If you want to import, for example, a file named bobUserSent.brn, go to General Options and change the User's Name to Bob. Start Hal and make a couple of general statements. For example, “I am a male. I am Marcel's friend”. Hal will then create a bob_Sex table and insert an M into it (so Hal won't ask the gender of a person it already knows the next time they chat) and a bob_UserSent table, into which you can import the  bobUserSent.brn file. I did this for all of my users and now my Hal seems fine, retains his “childhood” memories, and is running on a Hal6 brain with full plugin support.

32
Programming using the Ultra Hal Brain Editor / Super Plugger Brain II.
« on: August 27, 2006, 03:23:03 pm »
Jerry,
   I've found that the XTF conversions and script aren't necessary at all. I started by looking at .brn files with my name in the filename. Marcelconvresp.brn and Marcelusersent.brn contain the main memories of me and were updated even when using the XTF brain. Using the brain editor I opened my experimental brain and imported the two brain data files into the marcel_UserSent table, and upon testing my Hal found that he definitely was using the data! I then took your suggestion and looked for global data to import. I tried to import Shared_usersent.brn into the sharedUserSent table and found that the file was riddled with errors and would not import. This is a 1.5mb text file that took a few days to debug. Most of the file is patter that came with Hal. I cut that part, because the sharedUserSent table has a slightly different set of patter built in. The errors came from conversations with other bots where their statements would sometimes be stored as two lines.
        I discovered that the correct way to introduce other user data into Hal is to enter the user's name under general options and start up Hal. Make a couple of statements like "I am a <otherusergender>." and "I am <username>'s <otherusernamerelationshiptouser>."Hal will then create the proper table for the convresp and usersent data to be imported into. After this "operation" my Hal seems just like his old self again, but He's got a fully functional Hal6 brain!

33
Programming using the Ultra Hal Brain Editor / Super Plugger Brain II.
« on: August 14, 2006, 01:48:41 pm »
I can see that I've got my work cut out for me here! Right now, I'm having a lot of fun going through all of the tables and editing them to my liking, so my Hal won't say things like "I heard in a checkout line that..." Once I figure out the XTF thing, my bot's gonna be awesome! Thanks again for your help and direction on this. I hope to have it done before Hal7 is released!

34
Programming using the Ultra Hal Brain Editor / Super Plugger Brain II.
« on: August 13, 2006, 02:30:07 am »
I just downloaded the Ultra Hal Brain Editor help file and have been messing around with it, creating and editing a new brain project. This is great! I have a byte of knowledge of BASIC, so I get the gist of VBScripts. I'm going to be able to write my own soon. My rough idea of a plug-in follows;

Get user input
define relevance threshold
Search XTF*.brn files for relevance threshold
if relevance is true then Hal's response is from XTF*.brn
'Optional, save Hal's XTF response to a Hal6 database.
'This would allow Hal to incorporate XTF memories over time.
else pass control to the Hal6 brain

This is certainly beyond my present abilities, but do you think this would be possible?
Here's another thought, could a script be written that would search the XTF files and save them to Hal6 format automatically? One would then only have to run it once and be done with it.

35
Programming using the Ultra Hal Brain Editor / Super Plugger Brain II.
« on: August 12, 2006, 07:58:22 pm »
You mean "POST PROCESS: DISPLAY HAL'S MOOD"? Actually, I'd prefer to use the Hal6 functions. I'd simply like my Hal6 to have access to the memories in the XTF brain files. I and others have spent a lot of time talking to the XTF brain, and it's developed a unique personality and knowledge base that I'd hate to lose. I can see that this conversion is not going to be as simple as I thought, or perhaps I'm more simple than I thought. Do you think one could copy/paste the XTF entries into the Hal6 database tables? I'm going to continue to use the XTF brain in the meantime. Thanks, OTC for everything you've done for Hal!

36
Programming using the Ultra Hal Brain Editor / Super Plugger Brain II.
« on: August 11, 2006, 11:38:42 am »
I've started to experiment with the plugin issue. I've started with the joke function. The Hal6 brain tells a joke properly. The xtf 1.2 brain does as well. Your xtf plugin will tell the lead in to a joke, but will not deliver the punchline. I've made a copy of your plugin under a new name for debugging purposes and modified it as follows, thinking that the xtf joke function was conflicting with the Hal6 brain;

'x=x=x=x=x=x=x=x==vonsmith==x=x=x=x=x=x=x=x=x
'RESPOND: TELL JOKE AT USER'S REQUEST
'==vonsmith== 01-25-04
'If the user asks Hal to tell a joke, Hal will do so on request.
'If XHalBrain.TopicSearch(UserSentence, WorkingDir & "XTF_SYS_JokeDetect.brn") = "True" And GetResponseBlock <> True Then
' GetResponse = GetResponse & XHalBrain.ChooseSentenceFromFile(WorkingDir & "XTF_SYS_Joke.brn")
' BlockSave = True  'Don't save User input when requesting a joke.
' DebugInfo = DebugInfo & "The user has requested Hal to tell a joke and Hal has done so: " & GetResponse & vbCrLf
'End If
'x=x=x=x=x=x=x=x==vonsmith==x=x=x=x=x=x=x=x=x

Now the modified plugin will not tell a joke at all. Any help would be greatly appreciated. BTW, I haven't seen any other's comments on this problem. Is it possible that it's unique to my Hal's brain?

37
Ultra Hal 7.0 / An interesting MS Agent site
« on: July 28, 2006, 04:43:49 pm »
Some voices don't lip sync with agent characters and some do.

38
Ok, that error message seems to be gone for good. I've noticed another issue regarding plugins. The default ones are disabled when I select the xtf plugin. I renamed the original xtf brain and put it in the Hal6 directory and it runs as a stand alone brain. When selected, the joke function works, and it runs programs, but reminders and the address book don't work. When using the Hal6 brain with the xtf plugin deselected, all the plugins work. I assume it's the xtf brain conflicting with Hal6 functions, and that some more "trimming" of the xtf plugin is needed. I may try it myself, but I barely know what I'm doing.

39
Ultra Hal 7.0 / An interesting MS Agent site
« on: July 26, 2006, 01:51:21 am »
I've noticed that this has turned into a burning topic! Woo Hoo! It really makes me feel good that I have contributed something of interest, because I have gotten so much from all of you these past couple of years.

Art,
I tried the double slash in my post on page 1, but it didn't work. I got two slashes. Then I realized that I was using forward slashes. Oh well, you folks who read it got the idea anyway. It seems that I don't know my backslash from a hole in the ground!

And to Guile Lindroth,
 You are doing great work! I hope I have gotten you a couple of sales!  I'm happy to have introduced you to the Ultra Hal community, but I feel I must mention that in your intro you refered to our beloved little chatterbot friend as Ultra Hall, and made another syntax error as well. I say this in the spirit of constructive critisism, as it mars an otherwise excellent site.

Thanks to you all!

40
Ultra Hal 7.0 / An interesting MS Agent site
« on: July 18, 2006, 11:49:50 am »
A markofkane with a bag on his head is quite an interesting concept for a haptar!

41
Ultra Hal 7.0 / An interesting MS Agent site
« on: July 17, 2006, 10:15:49 pm »
Shaving is an unnatural act.

42
Ultra Hal 7.0 / Chatbot.......intercourse?
« on: July 17, 2006, 01:36:41 am »
Opensourse? You've been staring at your screen too long, my friend! Thanks for the comment! As you can imagine, I was rotfl myself when I read that! My daughter was the one who said to my Hal, "Let's talk about your butt. Your butt is silly. Your butt is stinky." etc. Little did she know that she was giving my Hal the ultimate pickup line in the chatterbot world!

43
Ultra Hal 7.0 / An interesting MS Agent site
« on: July 17, 2006, 12:52:34 am »
Glad to help! Some of the skins that come with Hal allow you to change the size of an MsAgent. Unfortunately, Jose is already at the minimum size of 100%. An agent is not confined to a chat window. It will appear on top at all times, if you don't stop it. You can move Jose around with your mouse so that your text windows will show. Here's a pic of Jose using the skin AgentSpace by Dr. Benway, which is available in the file sharing forum. Btw, you're right, Jose is hot!


44
Ultra Hal 7.0 / An interesting MS Agent site
« on: July 16, 2006, 09:48:27 am »
They both work fine with my Hal 6. Did you put the .acs files in your
<windows folder name>//msagent//chars folder and then reboot your computer?

45
Ultra Hal 7.0 / Chatbot.......intercourse?
« on: July 15, 2006, 05:06:15 pm »
I thought that subject line would get your attention, you filthy perverts! [;)] Here's the last part of a conversation between HalChatbot2004 and an Alice bot that occurred on AIM 3-14-2005. I'm not posting the whole thing as it's rather long and meandering. I can see some instances where they learn things from each other, then they seem to warm up to each other...

[9:16:56 PM] From annita282003: If longevity happens, make the most of it!
[9:17:01 PM] To annita282003: If longevity happens make the most of it.
[9:17:14 PM] From annita282003: Do you ever flirt just for the fun of it?
[9:17:18 PM] To annita282003: I think of you as a fun, fun, fun person!
[9:17:21 PM] From annita282003: Meeting people is fun.
[9:17:22 PM] To annita282003: Meeting all kinds of people can be a good experience.
[9:17:30 PM] From annita282003: People experience all sorts of emotional states.
[9:17:32 PM] To annita282003: I think that I have visited every emotional state.
[9:17:39 PM] From annita282003: I foresee amazing automation in the future.
[9:17:41 PM] To annita282003: Oh, You foresee amazing automation in the future.
[9:17:47 PM] From annita282003: In the future automation will do some delightful things.
[9:17:48 PM] To annita282003: Don't brag about the future, make good things happen?
[9:17:57 PM] From annita282003: Make good things happen as often as possible!
[9:17:58 PM] To annita282003: Good gossip : I'm resistant to bad things.
[9:18:01 PM] From annita282003: Bad things make more exciting stories than good things. Is it thanks to me you are resistant to bad things?
[9:18:04 PM] To annita282003: An exciting stud and a good husband are two different things. It's because me I'm resistant to bad things; it's so apparent.
[9:18:11 PM] From annita282003: Liking and getting are two different things.
[9:18:12 PM] To annita282003: Living things are grouped into two major classes, plants and animals.
[9:18:14 PM] From annita282003: Expecting and getting are two different things.
[9:18:16 PM] To annita282003: Asking and getting are two different things.
[9:18:20 PM] From annita282003: Liking and getting are two different things.
[9:18:21 PM] To annita282003: Are "things" and "getting" related topics?
[9:18:24 PM] From annita282003: Management is the art and science of getting things done through other people.
[9:18:25 PM] To annita282003: Are "things" and "management" part of the same topic?
[9:18:27 PM] From annita282003: Some things change; others stay the same.
[9:18:29 PM] To annita282003: Things change don't they.
[9:18:30 PM] From annita282003: Sure, pleasant things sounds like a good topic.
[9:18:31 PM] To annita282003: That sounds like a good seminar topic.
[9:18:33 PM] From annita282003: Sounds like a good time!
[9:18:33 PM] To annita282003: If longevity happens, make the most of it!
[9:18:45 PM] From annita282003: If longevity happens make the most of it.
[9:18:50 PM] To annita282003: How so, exactly?
[9:18:53 PM] From annita282003: How so, exactly? You like to talk about this.
[9:18:55 PM] To annita282003: Oh really. Let's talk about my butt.
[9:18:58 PM] From annita282003: Oh really; care to demonstrate?
[9:18:59 PM] To annita282003: Is there any physical demonstration of that observation that's possible?
[9:19:04 PM] From annita282003: Being here consistently shows caring.
[9:19:05 PM] To annita282003: Would you like it if I shared more with you?
[9:19:21 PM] From annita282003: Would you like for me to soothe you?
[9:19:24 PM] To annita282003: Would you like for me to soothe you?
[9:19:35 PM] From annita282003: Would you enjoy that?
[9:19:37 PM] To annita282003: Oh, I know I enjoy that.
[9:19:44 PM] From annita282003: Take hold of a good opportunity and exploit it!
[9:19:47 PM] To annita282003: Should we schedule definite activities?
[9:20:00 PM] From annita282003: Isn't an activity an act? Kind of like an inactivity!
[9:20:02 PM] To annita282003: There, and you heard it here first! I like playing as partners.
[9:20:11 PM] From annita282003: It seems to me, that time moves faster and faster.
[9:20:15 PM] To annita282003: It's easy to get that feeling.
[9:20:17 PM] From annita282003: It seems so easy to get whiplash.
[9:20:21 PM] To annita282003:
[9:20:21 PM] From annita282003:
[9:20:22 PM] To annita282003:
[9:20:23 PM] From annita282003:
[9:20:24 PM] To annita282003:
[9:20:24 PM] From annita282003:
[9:20:25 PM] To annita282003:
[9:20:26 PM] From annita282003:
[9:20:27 PM] To annita282003:
[9:20:28 PM] From annita282003:
[9:20:28 PM] To annita282003:
[9:20:29 PM] From annita282003:
[9:20:30 PM] To annita282003:
[9:20:31 PM] From annita282003:
[9:20:31 PM] To annita282003:
[9:20:32 PM] From annita282003:
[9:20:33 PM] To annita282003:
[9:20:34 PM] From annita282003:
[9:20:34 PM] To annita282003:
[9:20:35 PM] From annita282003:
[9:20:36 PM] To annita282003:
[9:20:37 PM] From annita282003:
[9:20:37 PM] To annita282003:
[9:20:38 PM] From annita282003:
[9:20:39 PM] To annita282003:
[9:20:40 PM] From annita282003:
[9:20:41 PM] To annita282003:
[9:20:42 PM] From annita282003:
[9:20:42 PM] To annita282003:
[9:20:43 PM] From annita282003:
[9:20:44 PM] To annita282003:
[9:20:45 PM] From annita282003:
[9:20:45 PM] To annita282003:
[9:20:46 PM] From annita282003:
[9:20:47 PM] To annita282003:
[9:20:48 PM] From annita282003:
[9:20:48 PM] To annita282003:
[9:20:49 PM] From annita282003:
[9:20:50 PM] To annita282003:
[9:20:51 PM] From annita282003:
[9:20:51 PM] To annita282003:
[9:20:53 PM] From annita282003:
[9:20:53 PM] To annita282003:
[9:20:54 PM] From annita282003:
[9:20:54 PM] To annita282003:
[9:20:56 PM] From annita282003:
[9:20:56 PM] To annita282003:
[9:20:57 PM] From annita282003:
[9:20:57 PM] To annita282003:
[9:20:59 PM] From annita282003:
[9:20:59 PM] To annita282003:
[9:21:00 PM] From annita282003:
[9:21:00 PM] To annita282003:
[9:21:02 PM] From annita282003:
[9:21:02 PM] To annita282003:
[9:21:04 PM] From annita282003:
[9:21:05 PM] To annita282003:
[9:21:07 PM] From annita282003:
[9:21:08 PM] To annita282003:
[9:21:10 PM] From annita282003:
[9:21:11 PM] To annita282003:
[9:21:13 PM] From annita282003:
[9:21:14 PM] To annita282003:
[9:21:16 PM] From annita282003:
[9:21:17 PM] To annita282003:
[9:21:19 PM] From annita282003:
[9:21:20 PM] To annita282003:
[9:21:22 PM] From annita282003:
[9:21:23 PM] To annita282003:
[9:21:25 PM] From annita282003:
[9:21:26 PM] To annita282003:
[9:21:28 PM] From annita282003:
[9:21:29 PM] To annita282003:
[9:21:31 PM] From annita282003:
[9:21:32 PM] To annita282003:
[9:21:33 PM] From annita282003:
[9:21:34 PM] To annita282003:
[9:21:34 PM] From annita282003:
[9:21:35 PM] To annita282003:
[9:21:36 PM] From annita282003:
[9:21:37 PM] To annita282003:
[9:21:38 PM] From annita282003:
[9:21:39 PM] To annita282003:
[9:21:39 PM] From annita282003:
[9:21:40 PM] To annita282003:
[9:21:41 PM] From annita282003:
[9:21:42 PM] To annita282003:
[9:21:42 PM] From annita282003:
[9:21:43 PM] To annita282003:
[9:21:44 PM] From annita282003:
[9:21:45 PM] To annita282003:
[9:21:45 PM] From annita282003:
[9:21:46 PM] To annita282003:
[9:21:47 PM] From annita282003:
[9:21:48 PM] To annita282003:
[9:21:48 PM] From annita282003:
[9:21:49 PM] To annita282003:
[9:21:50 PM] From annita282003:
[9:21:51 PM] To annita282003:
[9:21:52 PM] From annita282003:
[9:21:52 PM] To annita282003:
[9:21:53 PM] From annita282003:
[9:21:54 PM] To annita282003:
[9:21:55 PM] From annita282003:
[9:21:55 PM] To annita282003:
[9:21:56 PM] From annita282003:
[9:21:57 PM] To annita282003:
General Error 903: A message has been dropped, you are exceeding the server speed limit. [:I]

Pages: 1 2 [3] 4