Author Topic: Von Smith or oher brain creators  (Read 5945 times)

crunch

  • Full Member
  • ***
  • Posts: 202
    • View Profile
Von Smith or oher brain creators
« on: May 06, 2004, 06:25:54 pm »
i have noticed the way if i ask hal "what is a" he responds from a dictionary type file?? where is that located? how would i ad more to it. i was also wondering how i could createt and have Him respond to something similar such as the question what does JN.3:16 say or to have Him leave chat mode and go to a question and answer mode for using him for teaching. Thank you guys fo all the hard work in hal
Crunch

<<I can't is the seed that never grows!>>

spydaz

  • Hero Member
  • *****
  • Posts: 670
    • View Profile
    • http://www.spydazweb.co.uk/
Von Smith or oher brain creators
« Reply #1 on: May 08, 2004, 05:01:14 pm »
I HAVE FOUND THAT THE BEST WAY TO GET A RESPONSE to the question,
what is JN.3:16


Would be In hals HOMEMADE topics in the BrainEditor.

A very labourious process.

I begun to start once, WOW my head exploded Halfway.

STILL Looking for a better way.

I have been thinking along the lines of CUTTING Books Of the BIBLE into Chapters, THEN have Hal read from the CHAPTER.TXT file.

 
IF <INPUT> = "IN THE CHAPTER, <blah blah>" THEN FILEread(BLAH BLAH)

FileRead( server.mappath(getresponse))
'<%
Private Function FileRead(byVal pathname)
   dim objFSO, objFile, tmp
   On Error Resume Next
   Set objFSO = Server.CreateObject("Scripting.FileSystemObject")
   Set objFile = objFSO.OpenTextFile(pathname, 1, False)
   tmp = objFile.ReadAll
   If Err Then
      FileRead = Null
   Else
      FileRead = tmp
   End If
   objFile.Close
   Set objFile = Nothing
   Set objFSO = Nothing
   On Error GoTo 0
End Function
'%>

BUT NOT A GOOD PROGRAMMER



' syntax: string = FileRead(pathname)

'example usage:

'Writes the contents of File.txt in folder New Folder to the browser.
'<% = FileRead( server.mappath("/New Folder/File.txt") ) %>

'Writes the contents of File.txt in folder New Folder to a variable named a.
'<%
'dim a
'a = FileRead( server.mappath("/New Folder/File.txt") )
'%>





HAVE A GO


JUST THINKING OUT ALOUD.......
GoOD LUCK
SPYDAZ

NT Canuck

  • Newbie
  • *
  • Posts: 38
    • View Profile
    • http://ntcanuck.com
Von Smith or oher brain creators
« Reply #2 on: May 08, 2004, 06:05:37 pm »
quote:
Originally posted by spydaz


I have been thinking along the lines of CUTTING Books Of the BIBLE into Chapters, THEN have Hal read from the CHAPTER.TXT file.



Here you go, sorting the text is done by verses.
http://ntcanuck.com/Hal/
(still needs to be fed to Hal)

that one is 1.38 mb zipped, 4.45 mb plain text 2 liners.

there's about 400 mb of zipped text files in storage here,
if you have some particular topic then I can up some.

I'm not of a particularly religious bend but that file
was part of my philosophy text section, save you some work.

I have hundreds of text files and will up some more
in case someone takes a crack at inserting into a
wordnet type database or even into alice aiml files.
(in case hal/alice joining will allow accessing aiml)

for making Alice aiml files:
http://209.168.21.76/AIMLpad/
http://sourceforge.net/projects/program-n/

NT Canuck
« Last Edit: May 08, 2004, 06:07:00 pm by NT Canuck »
 

spydaz

  • Hero Member
  • *****
  • Posts: 670
    • View Profile
    • http://www.spydazweb.co.uk/
Von Smith or oher brain creators
« Reply #3 on: May 09, 2004, 08:04:54 am »
WOW WOW

I LOVE THAT......

I AM GOING TO WORK ON A FEW NEW TOPICS FROM THAT GOOD LINK....

THEN REPOST THEM ...


GOOD TO BE BUZZING ABOUT AGAIN....

NT Canuck

  • Newbie
  • *
  • Posts: 38
    • View Profile
    • http://ntcanuck.com
Von Smith or oher brain creators
« Reply #4 on: May 09, 2004, 09:50:38 am »
quote:
Originally posted by spydaz

WOW WOW

I LOVE THAT......

I AM GOING TO WORK ON A FEW NEW TOPICS FROM THAT GOOD LINK....

THEN REPOST THEM ...


GOOD TO BE BUZZING ABOUT AGAIN....




A very useful updated "Windows notepad replacement"...
it will open very large files, does find/replace.
(and can display line numbering to co-ordinate edits)
http://www.flos-freeware.ch/notepad2.html

__ psst!___
Canada and USA

View and rate five movies, then sign up to receive
your redemption code email entitling you to a copy
of Visual Basic .NET 2003 Standard Edition.

http://msdn.microsoft.com/vbasic/atthemovies/

Offer good only while supplies last,
or until September 30th 2004.
___________

NT Canuck
« Last Edit: May 09, 2004, 04:35:25 pm by NT Canuck »
 

crunch

  • Full Member
  • ***
  • Posts: 202
    • View Profile
Von Smith or oher brain creators
« Reply #5 on: May 10, 2004, 06:19:13 am »
Thank you very much Canuck and spydaz. I had stopped messing with hal in 2000 due to a bunch of personal stuff going on (IE.Bankruptsy.) YuKK I just recently was able to build another Computer. And right away wanted to try a get back to working on the ideas I had until then for Hal.. Alot has improved and changed. It's hard for me to get caought back up as i am still learning basic code by reading and inserting changes to see what it does..
 What does this AML/Alice pad do to suppliment Hal?  I am trying to get Hal, to the point where He is fun  to chat with but can also be used as an interactive learning tool at the class I teach.
 Do you guys know where that datda base is in him I have been accessing? (if i say what is a>>bla bla bla , he has been responding with a dictionary type answer... I am wondering where it is so i amy just add other intries to it from other sources like the one Canuck just blessed us with....
 Thanks.....
 <<<Can't is the seed that never grows>>>>
<<<< If we are told it can't be done our first question should be why not? As we search for the way to!>>>>>>

 Jim
Crunch

<<I can't is the seed that never grows!>>

KnyteTrypper

  • Sr. Member
  • ****
  • Posts: 314
    • View Profile
    • http://www.knytetrypper.com/index.html
Von Smith or oher brain creators
« Reply #6 on: May 10, 2004, 08:35:33 am »
I'm not one of the more technically-minded members, here, but I think Hal accesses WordNet for "define" and "what is" questions. AimlPad is an ALICE implementation that uses MS Agents and TTS, like Hal, and is designed to facilitate creation of new aiml files. If you use the Hal/Alice, this could be particularly useful, but I guess it could be generally useful, too, as much of AimlPad's info is stored as text files.



NT Canuck

  • Newbie
  • *
  • Posts: 38
    • View Profile
    • http://ntcanuck.com
Von Smith or oher brain creators
« Reply #7 on: May 10, 2004, 10:15:41 am »
quote:
Originally posted by KnyteTrypper

Hal/Alice, this could be particularly useful, but I guess it could be generally useful, too, as much of AimlPad's info is stored as text files.



Not just that KnyteTrypper, here is where Hal can shine..

(hopefully I don't overwhelm anyone...just giving options)

The Alice aiml file came in two common formats
(open *.aiml and look for <alice> or <aiml> header)
just change <alice> top and bottome to <aiml> or vice versa.
Remember there is a c.aimal (i think that is "index" for files.

but...the aiml sets have been developed sufficiently for
doing some small robotic tasks as well as online (dynamic)
searches that include filtering and aggregating data! hmm..
Very useful to have a bot doing searches AND topic focus.

Then there is a newer more powerful aiml which needs some
small editing to work that uses xml tags...and a MYSql
Server database (you can make a MYSql server easily if
you have a lan w/router (setup a machine for it) or just
any 2cnd computer that can run win2000 pro or xp.

So now...we can perhaps let Uhal run in foreground and
use a second machine (instead of tie up one) to run the
Alice/Anna/Eliza/Halx etc. bot, and use the second bot
(on other machine) to do the "grunt work" and data storage.
Or some local lan aimbot connection to/from UHal to teach
Hal or for Hal to pull/use the wider ranging Alice machine.

This is not so hard to start (just setting one up this week).
(bit of work but I may as well share the procedure)
Please keep this 2cnd (bot) machine only to local lan,
going/letting into "public lines" can be big headache/problem,
better to use some Pandorabot type host for public critters.

spare (2cnd) machine on LAN running some WinNT/2000/XP
(doesn't need a fancy machine...)

------free, autosetup package------
Web-Server -- Apache HTTP Server 2.0
Database -- MySQL Database Server  4.0.18
Database Administration -- phpMyAdmin
SSL (Secure Sockets Layer) Toolkit -- OpenSSL
Programming -- PHP
Programming -- Perl
Log Analyzer -- Analog
http://www.devside.net/web/server/components

Size of package has been reduced from 43MB to 23MB
by using better compression (10megs) and deleting
the MySQL debug lib and bin counterparts (10megs),
which were of no use to anyone...
Unpacked size reduced from 150MB to 114MB.

Only use the installer on a clean system:
no www directory, and no Apache,
MySQL, IIS, MS SQL services installed or running.

The installer will ask for a drive letter to install
the "www" directory to, forming <drive:>www<components>... ,
and everything else is done automatically for the user.
--------

then try to use this database (uses php web files/mysql/xml)
(programme Alice server version for xml type aiml files)
http://www.rydell.com/programe/
http://sourceforge.net/projects/programe/


kewl! You can take an older or extra computer and make
your own dedicated bot server for LAN/experiment/educate. ;-)
And that bot can interact with Hal and both learn/share!

===
Of course...opening the pipes for direct "aiml" input into
uhal would save us all lots of trouble.  Right now the code
used to run uhal still needs more variables assigned so not
need a wrapper for a wrapper just to use alice/aiml plugin.

I start into more isolated Alice/aiml type database because
I am having troubles to run alice plugin and sometimes just
starting it (using beta MS OS) but uhal5 is otherwise fine.

===
One of reasons I am experiment/leaning in this direction is
because of how common php is today (server/web side) as well
as fact that mysql (fast database) works well...and xml is
the upcoming language that even communicates/useful w/phone
and remote/embedded technology.  So may as well build for
today and tomorrow is useful knowledge/skills.

We are only getting uhal to interact/communicate/share with
another establised bot (alice & daughters) that have access
to huge files/databases and some play games/run machines.

Just one option...if you happen have extra machine and some
interest to learn more about bots and network/future.  *g*

'Seek and ye shall find'
NT Canuck
http://ntcanuck.com

 

KnyteTrypper

  • Sr. Member
  • ****
  • Posts: 314
    • View Profile
    • http://www.knytetrypper.com/index.html
Von Smith or oher brain creators
« Reply #8 on: May 11, 2004, 12:58:09 am »
Awesome. I only understood about half of it, lol, but it sounds like an amazing project. NT Canuck, if you have any games, or special snippets suitable for use with Pandorabots, please wander over to my ALICE forum and treat us. I've started the forum for Pandora and Runabot botmasters to have a place to exchange ideas, but I'm hoping for a few people who know a lot more than I do to come along and make it exciting for everyone. Sounds like you might be one of them, lol. Hope to see you over there (I'm already a member of the AIMLPad community, I just don't post much. It's usually a lot more tech than I am, currently. But I try to learn a little more each day, as I can.)



Kathryn

  • Jr. Member
  • **
  • Posts: 78
    • View Profile
    • http://home.earthlink.net/~kmhilton/index.htm
Von Smith or oher brain creators
« Reply #9 on: May 11, 2004, 10:53:18 pm »
KnyteTrypper:

Went to your forum.  Would like to mention that you really need the International Copyright symbol in front of the 2004 on your pages.  The code to put the c with circle around it is:  #169
For some reason this editor is not printing the first part of the code which is the "and" symbol, the ampersand. No space between it and the pound symbol.

You really should use that for your own protection.  Tis a nice site.

Forgot to mention earlier that the correct syntax to copyright a document is:  Copyright 2004 Name  This is recognized and accepted by the USA and a few countries.  Some countries, however, will only accept or recognize the International symbol of the circled  c.  Without the word copyright or the circled c, there is only a common law copyright which is automatic once a document is created. So it is better to always use the circled c.

Regards,
Kathryn [:)]
« Last Edit: May 12, 2004, 11:04:02 pm by Kathryn »
 

KnyteTrypper

  • Sr. Member
  • ****
  • Posts: 314
    • View Profile
    • http://www.knytetrypper.com/index.html
Von Smith or oher brain creators
« Reply #10 on: May 13, 2004, 06:44:31 am »
Thanks for your advice, Kathryn. I've never really considered being proprietary about it, lol. The site is about Alicebots, which are opensource, so I wouldn't be there without the benefit of the work of others, freely given. But I put in a copyright symbol as you advised. Now if I could just make that guy who has my main AI Nexus page listed on his "Cybersex with AI" page take down his link to me so I wouldn't have all those weird botlogs to sort through, I'd be just copasetic, lol.