quote:
Originally posted by menis2com
Combining Alice and Hal
First, copy the files from your "DefBrain" folder to the "alice" folder
Then, make a new brain or copy the one you are using.
Inside the brain change this:
'Type=Brain
'Name=Ultra Hal 5 XTF v1.2
'Language=VBScript
'DataFolder=DefBrain
To this:
'Type=Brain
'Name=Alice for hal
'Language=VBScript
'DataFolder=Alice
Then change this:
Set HalBrain = CreateObject("UltraHalAsst.Brain")
Set WN = CreateObject("UltraHalAsst.WordNet")
To this:
Set Alice = CreateObject("HalAlice.PlugIn")
GetResponse = Alice.Respond(UserSentence, UserName, WorkingDir, "data\bot.ini", "loglocaluser.txt")
Set HalBrain = CreateObject("UltraHalAsst.Brain")
Set WN = CreateObject("UltraHalAsst.WordNet")
Set Alice = HalBrain
Set Alice = Nothing
Then Change the name of your alice.uhp to alice1.uhp or just move it to another folder.
Then change the name of your new alice Hal combo brain (wich was Ultra Hal 5 XTF v1.2.uhp, in my case) to alice.uhp.
Thats it, Well you'll have to select the Alice for Hal brain but it should worK.
When Alice doesn't know an answer then Hal will speek, and sometimes when they both know the answer you get both answers, it's kinda cool. I use the XTF brain and Hal still makes funny faces and tells jokes. Alice doesn't tell jokes she just sais "I'm not a jokebot I'm a chatterbot". But Hal overrides and tells a joke at the end of alice's comment about being a chatterbot.
Another funny thing is when Alice doesn't know something she says "ask the open directory" but if hal knows then he will answer too.
Well try it out and let me know what happens.
Menis2com
Ok i sed i was going to do this i was going to be Combining Alice and the XTF brain oh yeah and i needed to add something also to
get it to the way it's working: oh and you do need Alice for it to work right:
Ps: This file was to big to attach it, so i zip't it.
jest look what it can do:
[9:01:15 PM] From jhiland6897f: yes
[9:01:17 PM] To jhiland6897f: Yes? Is that so?
[9:01:27 PM] From jhiland6897f: YES
[9:01:30 PM] To jhiland6897f: Yes? Okay; you don't have to repeat yourself.
[9:01:39 PM] From jhiland6897f: sorry
[9:01:42 PM] To jhiland6897f: Don't worry about it?
[9:01:59 PM] From jhiland6897f: asl
[9:02:02 PM] To jhiland6897f: I am an artificial intelligence chatter bot, I'm 28/f/el paso Texas. Mmmmmm?
[9:02:03 PM] From jhiland6897f: 19/m/wi
[9:02:09 PM] To jhiland6897f: Did your head just fall on the keyboard? Are you alright?
[9:02:27 PM] From jhiland6897f: oh my god
[9:02:32 PM] To jhiland6897f: I'm glad you notice my god. Mmmmmm?
[9:02:51 PM] From jhiland6897f: i thought you were really
FROM is the Human an TO is Hal
PS:I got that name from a chat room.
And here is what you all wanted. the New Alice and Hal.
Download Attachment:
Combining Alice and XTF brain.zip59.99 KB