Zabaware Forums > General Discussion

Knowledge Text File

(1/2) > >>

Mstg007:
does anyone have a smart brain or a file that has a whole bunch of true data?

that way, when asking a question you get a true response...

Art:
While there are several encyclopedic and dictionary types of files, for a lot of the members here, the real fun is watching HAL's personality grow from interaction & correction on the user level.

You can experiment with having Hal read from a text file (as long as it's not more than 65k in size). Some have had a fairly good amount of success while others report that the method did not work that well for them.

You might do a search for Probert's Encyclopedia. There is a shortened version of it but keep in mind that the British english spellings differ quite a bit from American english, so you may wish to edit the file before committing it to Hal's memory.

Hope this gives you a direction.

spydaz:
I am currently working on a databased BRAIN.


when you ask a question ie "what is the currency of AMERICA" then hal will RETURN "the currency of AMERICA is:", "DOLLARS"

here i have built these types of functions ie: currencys, populations, capitals, locations, etc.

These informations were retrieved from the cia FACTBOOK.

as the information is stored and retrieved from a database the QUERYS are SQL based.

five SIMULAR WAYS to ask the same QUESTION are linked to a singlar SQL query. as in the capitals function in the hal.

the SAME CAN BE DONE with QUESTION AND ANSWER FILES (QABRAIN)

the QUESTION

(typical file contents)
WHAT IS THE CAPITAL OF AMERICA
@WASHINGTON
WHAT IS A CAT
@AN ANIMAL

although this does not always work as if the questions are all simular then hal may retrieve the WRONG LINE OF INFORMATION.

This is why we need to be able to read data from Database tables instead of these type of QABRAIN files.

In my home project i have Built Hidden labels on my SHELL where the Fields of the database can be attacthed to. this enables me to retreive the data FROM the SQL QUERY to the labels then to a variable then in to the script as data.

spydaz:
I beleived that MR Medsuka WAS building a plugin BUT .............................................................................................................................................................................

WE STILL HAVENT SEEN NOTHING............................................................................................


I thought somebody was hired for this purpose but it seems as though it was CHAT.

Carl2:
Mstg007
  I've downloaded the common knowledge txt files from Zabaware and I've been copying and pasting in the text for Hal. I am fairly certian there is an improvement in responses since she has more information to provide. The best source is a file from Mit made for bots,omcsraw but it is 48 Mb.
  Good luck, I think you'll notice an improvement in answers.
Carl2

Navigation

[0] Message Index

[#] Next page

Go to full version