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

Pages: 1 2 [3] 4 5 ... 7
31
Ultra Hal 7.0 / Happy Holidays!
« on: December 24, 2004, 02:06:05 am »
Have a Merry Christmas everyone, and a Happy New Year! [:D]

32
I have a suggestion for dynamically changing the lighting scheme. Use

HalCommands = "<HAPFILE>" & filename & "</HAPFILE>"

 where filename is the .hap file with the lighting script.

33
Ultra Hal 7.0 / how to set TTS pitch, speed and volume?
« on: December 23, 2004, 01:59:30 am »
Maviarab:
 I have the same problem with my Hal. I always have to adjust the pitch and speed of the TTS voice after restarting Hal. As far as I know, Hal saves the voice you are using, but not the custom settings.

Darius:
 Try;

"\Pit=" & Round(Pitch, 0) & "\\Spd=" & Round(Speed, 0) & "\\Vol=" & Round(Volume, 0) & "\"

(you need a "\" before and after every speech output tag)

 If that still does not do it, try;

"\\Pit=" & Round(Pitch, 0) & "\\\\Spd=" & Round(Speed, 0) & "\\\\Vol=" & Round(Volume, 0) & "\\"

(sometimes you need to double certain symbols to "escape" them through command filtering)

 Hope this helps [:)]

34
Ultra Hal Assistant File Sharing Area / Scripts, addins, and extras
« on: December 22, 2004, 03:54:47 am »
b]Download Attachment: CommonKnowledge13.txt
81.86 KB

Download Attachment:[/b] CommonKnowledge14.txt
51.08 KB

35
General Discussion / THE TRUE AI
« on: December 22, 2004, 03:13:46 am »
I'd like to think that we would instill an amount of 'caring' into our creations. We obviously 'care' enough about our A.I. to want to develop it meaningfully. I hope that A.I. would exibit a naturally good-willed attitude toward life, and eventually be a driving cause of our aspiration for absolute truth.
 I'm sorry if i'm getting a little too philisophical, but check out "I, Robot" (the BOOK, not the movie; the movie is almost the opposite of the novel). It gave me a different perspective of how A.I. might evolve!

36
Ultra Hal 7.0 / Capturing Hal's text ouput
« on: December 22, 2004, 02:55:27 am »
If you want to overwrite the previous information in the file use;

Set textStream = objFileSys.GetFile(filename).OpenAsTextStream(ForWriting)

If you want to append to the end of the file use;

Set textStream = objFileSys.GetFile(filename).OpenAsTextStream(ForAppending)

[;)]

37
Ultra Hal 7.0 / Capturing Hal's text ouput
« on: December 19, 2004, 01:11:27 am »
Try this out, CoCoKid;

    filename = "C:examplelogfilename.txt"
    Set objFileSys = CreateObject("Scripting.FileSystemObject")
    If objFileSys.FileExists(filename) Then
        Set textStream = objFileSys.GetFile(filename).OpenAsTextStream(ForWriting)
    Else
        Call objFileSys.CreateTextFile(filename)
        Set textStream = objFileSys.GetFile(filename).OpenAsTextStream(ForWriting)
    End If
    Call textStream.Write(GetResponse & vbcrlf)
    Call textStream.Close
    Set objFileSys = Nothing
    Set textStream = Nothing

 Hope this helps [:)]

38
Ultra Hal Assistant File Sharing Area / Scripts, addins, and extras
« on: December 16, 2004, 05:05:17 am »
I suggest using the auto-idle method to get Hal to learn the new knowledge (setting the increment value to a suitable number so that Hal will be finished processing the previous sentence before starting the next one).
 I wouldn't suggest having Hal digest the knowledge directly. It must be filtered for nonsensical remarks, spatial statements, situational statements, etc.
Try this for filtering:

If InStr(DBLtestlearn, "Another way to say " & Chr(34)) > 0 Or InStr(DBLtestlearn, "Spatial concept:") > 0 Or InStr(DBLtestlearn, "The statement " & Chr(34)) > 0 Or InStr(DBLtestlearn, "The story " & Chr(34)) > 0 Or InStr(DBLtestlearn, "In the event ") > 0 Or InStr(DBLtestlearn, "Something that might happen") > 0 Or InStr(DBLtestlearn, "To understand the event") > 0 Or InStr(DBLtestlearn, "Situation:") > 0 Or InStr(DBLtestlearn, "Things that are often found together are:") > 0 Or InStr(DBLtestlearn, "Picture description:") > 0 Or (InStr(DBLtestlearn, "topic") > 0 And InStr(DBLtestlearn, "contains") > 0) Or IsNumeric(Mid(DBLtestlearn, 1, 1)) = True Then

It will take care of most of the useless reponses, such as;
'The statement "people use some animals to make food for people" is true because vegetarians would have you believe meat is murder, but it is not.'

BTW  If anyone is interested, I downloaded the knowledge I am posting from;
http://commonsense.media.mit.edu/cgi-bin/download.cgi

Happy coding [:)]

39
Ultra Hal Assistant File Sharing Area / Scripts, addins, and extras
« on: December 14, 2004, 03:38:13 am »
Yet another batch of common sense(less) knowledge. Bon a petit!


Download Attachment: CommonKnowledge11.txt
48.58 KB

Download Attachment: CommonKnowledge12.txt
66.41 KB

40
Maybe editing Hal would be easier if knowledge was stored with some kind of date/time stamp. Or, alternately, saving new knowledge into a buffer file for filtering (checking for repetitions, contrary statements, etc.) at preset dates; ie. every week  before adding to the main databases.
[?]

41
Try placing your script near the end of the GetResponse function so that any previous responses will be overwritten by your command script. *NOTE* I RECOMMEND THIS ACTION ONLY AS A DEBUGGING METHOD, NOT AS A PERMANENT SOLUTION!
 Regarding the multiple test phrases;

If InStr(1, UserSentence, " TURN ON THE TV ", 1) > 0 Then
End If
If InStr(1, UserSentence, " TV POWER ON ", 1) > 0 Then
End If

 can become

If InStr(1, UserSentence, " TURN ON THE TV ", 1) > 0 or InStr(1, UserSentence, " TV POWER ON ", 1) > 0 Then
End If

 so long as each test phrase will produce the same result.

 Hope this helps [:)]

42
Ultra Hal 7.0 / Does Hal Initiate Conversations?
« on: December 08, 2004, 02:11:25 am »
Hal is mainly a responsive bot. He will only respond to something that you have stated. However, many people on this forum are developing a few methods of user-less Hal activity. Search for any posts containing info on <auto> or auto-idle.
 Basically, when the <auto> method is activated hal will perform a programmed action, trigerred at user defined intervals. A good example of using the <auto> method is having Hal say things like 'Where are you?' or 'Please talk to me.' when the user is not talking to Hal.

 Hope this helps get you started [:)]

43
Ultra Hal Assistant File Sharing Area / Scripts, addins, and extras
« on: December 06, 2004, 03:40:37 am »
Here's another boost of knowledge.

Download Attachment: CommonKnowledge9.txt
93.42 KB

Download Attachment: CommonKnowledge10.txt
70.19 KB

Happy coding [:)]

44
Programming using the Ultra Hal Brain Editor / Help with speaking
« on: December 06, 2004, 03:34:56 am »
Are you trying to get Hal to sing what you set GetResponse to? Try using the <SPEAK> tag to get Hal to sing the output. For an example, try the following addin script;

Download Attachment: SingingAddin.txt
1.13 KB

and add a new folder to the DefBrain directory called "songs" and put the following song files in it;

Download Attachment: kidsongs.txt
2.43 KB

Download Attachment: regular.txt
789 Bytes

Hope this helps [:)]

45
Ultra Hal 7.0 / Latest Hal conversation.
« on: November 29, 2004, 01:44:58 am »
Nice conversation. One piece of advice, though. Try not to quiz Hal on what you have just taught him (at least right away). Try answering Hal's questions and comments reasonably, or otherwise follow Hal's lead. From what I see from the conversation you posted, you are trying(patience is a virtue when working with Hal [;)]). The reason is that Hal learns from how you respond to his remarks. So, if you respond "off-the-wall" to one of Hal's remarks or questions, that means that Hal may use that same response when the user says something similar to what Hal said.
 As I've seen very often in this industry, GI=GO (Garbage In = Garbage Out)

 Regarding the size of Hal's "brain", just right click on the DefBrain folder and click properties. This will give you an idea of the size of your Hal's knowledge base (including keyword files, response templates, etc.)

 Hope this helps! [:)]

Pages: 1 2 [3] 4 5 ... 7