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 - lostbowyer

Pages: 1 2 3 [4] 5 6 7
46
Programming using the Ultra Hal Brain Editor / Time since the last time...
« on: September 16, 2003, 09:57:34 am »
Larry
You're doing a lot of work to separate the time when you don't have to, didn't you take a look at the lunch script, it is am/pm time aware. To get hours and minutes just do this

Hourday = Hour(Time) (will yeild the hour in military time)
MinuteDay = Minute(Time) (will yield the minutes)

A lot less coding, I'm waiting for the 5.o editor, but it shouldn't be too hard to expand the time concept to yesterday, today, tomorrow

Glenn

47
Ultra Hal 7.0 / to vb scripters on 5.0
« on: September 16, 2003, 09:39:35 am »
The knock knock from 4.5 works on 5.0 without change.

48
Ultra Hal 7.0 / What's hal having for lunch patched for 5.0
« on: September 15, 2003, 11:12:33 am »
The what is for lunch script if not placed before the greeting routine was causing hal to go into a locked joke mode and he would ignore greetings. I've fixed the script so it will work with the 5 beta without any problems. I'm attaching another meals file which has lunch and dinner selections for the whole week, edit as you see fit.

'What's for lunch
    If InStr(1, UserSentence, " WHAT AM I HAVING FOR LUNCH ", 1) > 0 Then
       MyMealz = "lunch"
       GetResponse = ""
    End If
    If MyMealz = "lunch" And Hour(Time) > 12 Then
       MyMealz = "dinner"
       GetResponse = "I've already eaten lunch, but for dinner, "
    End if
    If InStr(1, UserSentence, " WHAT AM I HAVING FOR DINNER ", 1) > 0 Then MyMealz =

"dinner"
    If MyMealz = "lunch" Or MyMealz = "dinner" Then
       RandomMealz = Int((Rnd * 10))
       BlockSave = True
       MyMealz = WeekdayName(Weekday(Date),True) & MyMealz & RandomMealz
       Timeday = Hour(Time)
       HalUserBrain = HalBrain.QABrain(MyMealz, WorkingDir & "Meals" & ".brn", UserBrainRel)
       GetResponse = GetResponse & HalUserBrain & vbCrLf
       GetResponse = HalBrain.HalFormat(GetResponse)
    End If


Download Attachment: Meals.brn
9.23 KB

49
Ultra Hal 7.0 / Do you want to play........produces robotic answer
« on: September 14, 2003, 04:17:53 pm »
Thanks Don
Editing that file corrected the responses. Hal now responds more naturally to "do you want to play" questions.
Glenn

50
Ultra Hal 7.0 / The Haptek Interface is a blast!
« on: September 14, 2003, 04:01:11 pm »
Haptek is very cpu/graphic intensive, I've found that it doesn't "play well wih others" If you have brackground applications running from the sys tray it causes problems and crashes with haptek. For example seti at home causes aptek to freeze or crash on every system I've tested it on, the application called "weather bug" also causes the system to crash with the haptek player. If your having crashes with haptek, take a look at whats running in the background.

Glenn

51
Ultra Hal 7.0 / Do you want to play........produces robotic answer
« on: September 10, 2003, 12:54:37 pm »
Play wasn't a keyword to launch an application in 4.5, although it appears that it is in 5.0 I think the new use of the word lessens the AI effect.

52
Ultra Hal 7.0 / Have to run ultra hal in Compatibility Mode
« on: September 08, 2003, 01:45:52 pm »
one other person commented on this same problem, he had an international version of XP. I suspect it has something to do with non US versions of XP

53
Ultra Hal 7.0 / Do you want to play........produces robotic answer
« on: September 06, 2003, 04:18:20 pm »
In hal 4.5, if you asked hal if he wanted to play for example "football" you would get an attempt at a human like response, even a phrase like "do you want to play "doctor" use to produce the response "A real doctor should never "play doctor" with the nurses". In 5.0 beta any question such as " do you want to play baseball" produces the response of "The program baseball was not found in my database" this is a very "robotic" sounding phrase.
The responses to playing any type of game was much better in 4.5

54
Ultra Hal 7.0 / Haptec People Putty Engine
« on: September 06, 2003, 03:37:04 pm »
I've successfully done it. Load you project, then click on save, select projects, then click on save as .htr, on my system the name in the save field now changes to "myflatfile.haptek" (not .htr) change the "myflatfile" to wahtever name (leave the ".haptek intact) and click save. Now go to the haptek folder in program files and open the user folder then go to projects. You should now see your file "use folder view options to show extentions" rename the file so it has the ".htr" extension and copy it into the hal character folder. It should then show up as a character.

Glenn

55
Ultra Hal 7.0 / Script takes longer than expected error
« on: September 05, 2003, 01:50:18 pm »
I ran 4.5 on this machine prior to the upgrade and I would occasionally get a 10-12 second delay.

Here are some questions withresponse times:

How are you                                         2 seconds
Could you define hot dog                            3 seconds
Do you like chocolate ice cream and hot fudge      16 seconds
What are you having for lunch                      10 seconds
Are you having potatoes and vegetables with dinner  9 seconds
Should we give the dog another biscuit             55 seconds
What is your name                                   1 second
How old are you                                     1 second
Where are we going after work                      26 seconds
Define telephone                                    3 seconds
Define a telephone                                  5 seconds

If you need more let me know
Glenn

56
Ultra Hal 7.0 / Can you give us a run down on...
« on: September 05, 2003, 01:05:15 pm »
No, keyword matches in your script is about the same in 5.0. I'm not using your lastest version of "just answer the question" I'm still using the prior version with the "forced keyword" I was hoping there would be improvement but I think the keyword algorythm has too many words excluded from it's database because of performance issues.

BE FOREWARNED! 5.0 is very sensitive as to WHERE you add the scripts. For example. if the "what's for lunch" script is placed after the "check for greeting" function in the script, hal will not recognize any greetings or goodbyes. If it is located near the end of the script, hal goes into a never ending joke mode. Your "just answer the question script" will only reurn a response a match if it is near the end of the script otherwise it returns nothing.

57
Ultra Hal 7.0 / Can you give us a run down on...
« on: September 04, 2003, 11:20:41 pm »
Larry
I've already been there done that! I created a second brain file and added in your "just answer the question" and "knock knock" and my "whats for lunch" everything works except if I ask hal to tell a knock joke it locks itself into a joke mode and will not stop telling jokes, it won't even acknowledge good byes. I'm going to look at it in the morning. This of course is being done in a seperate configuration that the test beta. I am testing the beta for feedback as is, the other is just for my experiments.
Glenn

58
Ultra Hal 7.0 / Read from text file observations & Question
« on: September 04, 2003, 11:15:14 pm »
If you could add more functionality to the slider I think it would be better. I agree, I have a lot better luck teaching in conversation, but for some instances the text file is a better way to go.

59
Ultra Hal 7.0 / Can you give us a run down on...
« on: September 04, 2003, 04:52:50 pm »
I've noticed that besides the haptek character addition, hal now tells jokes!

60
Ultra Hal 7.0 / Read from text file observations & Question
« on: September 04, 2003, 03:25:09 pm »
I'm not seeing much of an improvement in the learn from text option. If I have hal read a text file with learning set to the max on the slider (50) and then later quiz him about the information I am lucky to get 20% answered correctly. If I lower the getting to medium none of the questions are answered correctly.

This has been asked in the past but what should a text file look like? How should the information be formed? Could you provide a text file we can read in and judge the learned ability?

Thanks!

Glenn

Pages: 1 2 3 [4] 5 6 7