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

Pages: [1]
1
I want a  braintopic table to contain a whole list of attributes, but be able to edit them as conversations progress.
Is there a way to either delete, or update lines of brain tables using a hal commands or coding?
I know theres a way to pull data from brain tables into an temp array, but how could I possibly change or update that data and have hal also update that data in the braintable.
Any help would be greatly appreciated.

Is this type of function used to edit tables? or just temporary arrays?
HalBrain.RunQuery "UPDATE " & lonelyTableName & " SET topic = " & loPatience & " WHERE searchString = " & """" & patParam & """", tempQuery


This how I was storing variables that I want to save but change on the fly.  But I want to be able to save and update this data in a braintable.
    Rem PLUGIN: CUSTOMMEM

    attribute2 = HalBrain.ExtractVar(CustomMem, "attribute2")

    'PROCESS: PRESERVE ALL VARIABLES
    CustomMem = HalBrain.EncodeVar(attribute2, "attribute2")

2
General Discussion / Parse a sentence
« on: June 06, 2010, 09:14:02 pm »
???

Nobody see's this as useful?
I think for anything to even be considered AI, it would have to break down a sentence like this.

3
General Discussion / Parse a sentence
« on: May 30, 2010, 07:56:29 pm »
http://www.link.cs.cmu.edu/link/index.html

http://www.link.cs.cmu.edu/link/submit-sentence-4.html

Seems like you can DL the source. I bet Hal would benefit from this feature.

4
I see what I did, vrossi answered this in a post about Hal emotions plug-in.

Rem PLUGIN: CUSTOMMEM
'The preceding comment is actually a plug-in directive for
'the Ultra Hal host application. It allows for code snippets
'to be inserted here on-the-fly based on user configuration.
'------------------
' Loads stored variables
'------------------
vrNight = HalBrain.ExtractVar(CustomMem, "vrNight")

Rem PLUGIN: CUSTOMMEM2
'The preceding comment is actually a plug-in directive for
'the Ultra Hal host application. It allows for code snippets
'to be inserted here on-the-fly based on user configuration.
'------------------
' Saves stored variables
'------------------
CustomMem = CustomMem & HalBrain.EncodeVar(vrNight, "vrNight")

5
I'm working on on plug-in and I could uses a lil help.

I found this topic, but i am still having issues.
I think i should be able to save a variable using custommem
Like this...
CustomMem = HalBrain.EncodeVar(MyTable, "MyVariableName")
StoredVariables = HalBrain.ExtractVar(CustomMem, "MyVariableName")

I very new at this, but im starting to figure some things out.
If i can make this work, I will have one neat plugin to share later.
Thanks for the help!!!

6
Ultra Hal Assistant File Sharing Area / Question:Answer plugin???
« on: March 23, 2009, 09:57:55 pm »
If HAL isn't going to store the Q:A pair, then why does Hal store a question at all?  Just to ask question the later and not remember that it equals the user response?  And why store the answer in User_temp and not paired with the question?

Your never going to get an answer to a question by selecting few chosen words and doing a search of an entire DB.  
If I ask HAL "How old am I? Hal never answers this correct for me.
It ignores all but the word "old". It will respond with a random response using the word "old"

IMO facts are facts. There's usually only one correct answer.
Supporting statements should be where your see random responses.
Most people even consider their opinions as facts, until additional facts change their opinions.


Cefwyn that's really cool your looking into this. Even if HAL didn't reload Q:A table at least it would know next time.  I can see where one huge Q:A table would be a problem. Could Q:A tables be sorted by topic?




7
Ultra Hal Assistant File Sharing Area / Question:Answer plugin???
« on: March 22, 2009, 09:53:46 pm »
Cefwyn.... How tall are you?

Do you really need to think(search) through all your knowledge to answer this question.

Or do you just know how tall you are?

You would answer. I am X feet tall.

And you can have both, the answer and a additional response.
I am X feet tall.  I'm not very tall.
or... I am X feet tall.  How tall are you?
That way user gets answer from Q:A and a searched DB response based off either Q or A.

How tall are you? I've asked HAL many times.  It has no clue and it has been told MANY times before.









8
Ultra Hal Assistant File Sharing Area / Question:Answer plugin???
« on: March 22, 2009, 07:59:15 pm »
The MAINQA in the Mainbrain does not add Q:A pairs for me.
It doesn't even seem to be questions/answers at all.

I don't like the User_temp sent at all.
It pairs stuff horribly, and alot data thats stored here is garbage.
I feel if its a topic or Q:A it should be stored in existing or new tables.  Not one big mess of unsorted info.

I know Hal can reverse pronouns to ask similar question later.
It would be nice if Hal actually remembered(stored) the question/answers. That way Hal knew its needed to ask this question later, because it doesn't have an answer for it.







9
Ultra Hal Assistant File Sharing Area / Question:Answer plugin???
« on: March 22, 2009, 07:00:12 pm »
Question:Answer plugin???

When user asks Hal a question it is put into a shared question table to ask later.
I notice it doesn't get paired with the correct answer.
Is there a way a plugin could store the answer with the question, and tell Hal not to ask the question later.
And to reverse pronouns to ask similar question later.  You:I  I:You  She/He:I  She/He:You

Also...
If user asks question and Hal responds with the wrong answer.
Using statements like, "wrong" "incorrect" or "that doesn't make sense" deletes the bad answer from Q:A table.

Also...  could a second (bad answer, does not equal, incorrect statement/pair) table be created.

An example.


User: Do you play baseball?
Hal: Alex Rodriguez plays baseball.
User: That's "wrong".

<Hal> If hal does not have that question in Q:A table it stores question to ask user later.
<Hal> does not store that bad Answer in Q:A pair.
<Hal> if Q:A  Q: Do I play baseball?  A: Alex Rodriguez plays baseball. is stored from previous. The "wrong" Answer is removed from Q:A table.
<Hal> makes a 2nd table.  Q: Do you play baseball?  "does not equal" A: Alex Rodriguez plays baseball.
<Hal> Hal asks "Do I play baseball?"
<Hal> Stores correct answer to existing Question or stores new Q:A pair
<Hal> Knows not to ask "Do I play baseball?" because it has answer in Q:A table.
<Hal> Reverses "you" "I" and stores it in Q:A table to ask that question later. Does (user) play baseball?


Is there a plugin like this already?
 


And is Hal able to create and store "does not equal" tables for both questions and statements.

User: I like apples.
Hal: That's like comparing apple to oranges.
User: That's "wrong" or "that doesn't make sense"
Hal: "How about" <Tries to answer again>
Hal: "Does this work" <Tries to answer again>
<Hal> stores "I like apples" does not equal "That's like comparing apple to oranges"

Seems currently there is no way to tell Hal it is wrong, and stop same errors being made in the future.

Pages: [1]