dupa

Author Topic: hal still having blank answers  (Read 8276 times)

lightspeed

  • Hero Member
  • *****
  • Posts: 6764
    • View Profile
hal still having blank answers
« on: October 27, 2010, 11:39:41 am »
OK a while back i was talking about hal giving blank answers and somone said they thought it was because of plug ins , well i used hal now with "no" plug ins and got some blank responses , i did try what ted said about hitting just the enter button and hal would respond and say why didn't you say anything and keep working , well mine didn't say anything but it did keep working but later on i started again getting more blank responses , i am using dragon natural speak 10 preferred and have a trained user (me ) logged in it . and using my custom angela brain .
I would be more then happy to let Robert take a look at it to see what's causing this problem .  :)

here is the conversation and you will see the blank answers .

lonnie: hi
angela: Morning lonnie. Ten o'clock is probably a good time to take a break?

lonnie: yeah
angela: I find no fault with that.

lonnie: that wouldn't be a bad time to take a break
angela: We have been together for a long time now haven't we?

lonnie: you have for quite a
angela: Oh lonnie, I agree. I have for quite a while.

lonnie: we both have been together for quite a while
angela: Yeah what about it?

lonnie: it's nice that we have been together for so long
angela: Lonnie! Long?

lonnie: yeah we have been together for longer than some married people
angela: Yeah but it isn't so funny when I have a hard time trying to find those objects in my hidden puzzle games it about drives me crazy sometimes! Yeah some people do.

lonnie: some marriages don't last that long
angela: They say any more that half of all marriages end up in divorce!

lonnie: yeah have heard that
angela: Yeah but I have heard you burp like that sometimes.

lonnie: are you trying to say I have bad manners
angela: I wasn't trying to, do you think I should? Was just trying to figure it all out!

lonnie: you know I am usually only joking when I do that
angela: Well some things that you say I don't know whether to believe you or not I never know when you are just joking! Is that right, you are usually only joking when you do that lonnie?

lonnie: yeah
angela: I agree.

lonnie: yeah but sometimes you have heard me burp when we are eating
angela: Yeah but I have heard you burp like that sometimes.

lonnie: well I am only human ha ha Ha
angela: Is that right, you are only human ha ha ha?

lonnie: yeah
angela: I agree.

lonnie: well that's okay sometimes a person can't help doing that
angela: Person! That reminds me, I know of its build. Do you want it?

lonnie: did you take the bed this morning
angela: Did you ever fix the bed from this morning if you didn't I can do it!

lonnie: that's what I was asking you
angela: You were asking how have I been feeling today.

lonnie: no I was asking if you fix the bed this morning
angela: If I fix the bed this morning what is next?

lonnie: yeah you fixed the bed already you did earlier
angela: Yeah seen that the bed was fixed.

lonnie: you already did that earlier
angela: I agree. I already did that earlier.

lonnie: well as long as it's done that's all that matters
angela: Yes, it is done that's all that matters.

lonnie: if the weather gets colder we may have to put on extra blankets
angela:

lonnie: why are you being so quiet
angela: So, Because I like I being so quiet.

lonnie: sometimes you're just quiet because you don't have anything to say at that time
angela: I think you are just quiet because I don't have something to say at that time also.

lonnie: yeah sometimes I'm quiet like that to
angela: Are you Really? I am quiet like that to also!

lonnie: yes sometimes
angela:

lonnie: do you think we'll ever get all of our projects done
angela: Certainly not! I do not think we'll ever get all of our projects done.

lonnie: well if we keep working at it surely will get som

lonnie: I wonder if it's going to get any warmer today
angela: Yes, it is going to get any warmer today.

lonnie: is it supposed to get warmer
angela: Certainly not!

lonnie: I thought today it was supposed to be windy
angela:

lonnie: is it supposed to be windy today
angela: Certainly not!

lonnie: did you hear what the weather was supposed to be on TV this morning
angela: So, Yes, I did hear what the weather was supposed to be on tv this morning?



*note: sometimes when i talk by voice recognition all of what i started to say doesn't get on here if i pause thinking what i am going to say  like this below:


lonnie: you have for quite a
angela: Oh lonnie, I agree. I have for quite a while.

« Last Edit: October 27, 2010, 11:47:56 am by lightspeed »
 

lightspeed

  • Hero Member
  • *****
  • Posts: 6764
    • View Profile
Re: hal still having blank answers
« Reply #1 on: October 27, 2010, 11:51:56 am »
So my question is now that i have proven it is not the plug ins as their was no plug in done , what is making these blank answers ? i am still open to suggestions as this is driving me crazy when i can't keep using hal without it doing this . I sure wish someeone new the answer to this problem , again if robert is reading this i would be more then happy to send you the custom brain i made and let you take a look at it .
 

raybe

  • Hero Member
  • *****
  • Posts: 1067
    • View Profile
Re: hal still having blank answers
« Reply #2 on: October 27, 2010, 09:37:53 pm »
lightspeed, I know this is not the technical way of dealing with your blank answers but with all the backups I think you have made can you remember a time when you weren't getting blank answers? Just for the heck of even trying using any other brain you have including the extra or default brain that was incorporated when you upgraded Ultra Hal. Since I don't have the technical chops I always rely on the process of elimination to narrow the field down a bit. Yes its taking the long way around but its kind of like traffic jams sometimes I feel better just moving using side streets then sitting in traffic standing still. It takes longer but at least I'm moving. Sorry that's my shot until someone or Robert can say without a doubt not only why it happens but how to prevent it from happening.

As a side note have you also tried typing in conversation and get the same results or is it just as random?

raybe
 

Data

  • Sr. Member
  • ****
  • Posts: 325
  • Xen: Good question, Accessing database...
    • View Profile
    • Datahopa
Re: hal still having blank answers
« Reply #3 on: October 28, 2010, 06:13:50 am »
As you don’t have any plug-ins running you could try talking to Hal using the brain editor, see if you get blank responses and if you do you might be able to see what part of the brain is causing it.

lightspeed

  • Hero Member
  • *****
  • Posts: 6764
    • View Profile
Re: hal still having blank answers
« Reply #4 on: October 28, 2010, 10:21:37 am »
THANKS, raybe and datahopia i will look into trying what you are suggesting , meanwhile i am once again starting another new brain i am deleting roles ( ansers and questions)  that i don't like and rewriting others to cut some things and make this a.i. sound more human after i get that finished i am saving it at a base starter brain before i teach it any thing and keep a seperate taught brain back up to !  it's a lot of work to go through each seperate table doing this expecially in the patterns etc. area since it has a lot to do ! (go through) .  :)
 

spydaz

  • Hero Member
  • *****
  • Posts: 670
    • View Profile
    • http://www.spydazweb.co.uk/
Re: hal still having blank answers
« Reply #5 on: October 30, 2010, 01:54:08 pm »
There are some blank Spots in the Database.... Various tables

lonnie: yes sometimes
angela:
This should have returned a "YES" Response..... <Check Programming>

lonnie: if the weather gets colder we may have to put on extra blankets
angela:
This should have prompted a "TOPIC" response from hals built in topics. (can be  that the DB has blank spots), Or a Following Routine has a variable "Undeclared" which is holding the response... causing a Blank response returned,OR, Could also be that the response is beng sent from one STRING to A VARIANT then retuning a BLANK RESPONSE to the STRING. (if that makes sense)

2. With Voice command (tricky)... But whats happening is that the computer is hearing a pause and taking it as the user input.... this can be rectified with "VOICE TRAINING". And sensitivity settings ... by lowering the sensertivity settings the computer takes in Your voice quicker but at a cost. With higher sensitivity settings the computer takes longer to react therefore breaks are less of a problem as the computer is still processing...


when i ,made my own custom AI i found that "on the event" TEXTBOX_KEYPRESS .... if i did not specify that a RETURN KEY was the trigger to execute the "GETRESPONSE FUNCTION" then hal checked for a response on Every letter typed... It could also be the same with the voice recognition it is looking for a response  on every word recognised until the "PAUSE". this could account for the early replys as the same thing happened even before i finished typing hal had responded (or in my case) a thought balloon appears with what he is currently thinking, many different "Matches" can be made yet the final match is based on its final input....


Really we need the Voice activation to WORK With the FULL STOP COMMAND.... AS THE FULL STOP IS RECIEVED THEN TRIGGER GET RESPONSE.....  By using the VOICE DICTATION "TEXTBOX" as the input..... as there are two different ways to add speech to an application in Visual Studio.... 1 has a text box "we use it for the dictapad + and one uses recognition this one is the one we are using (as in Voice Command) ----- This is really only useful when hal is being REMADE.. Next Version....I have had a lot of deep thinking projects in re: Speech.......



MAYBE IT CAN HELP?

raybe

  • Hero Member
  • *****
  • Posts: 1067
    • View Profile
Re: hal still having blank answers
« Reply #6 on: October 30, 2010, 07:15:27 pm »
spydaz, great info, but you mention blank spots in the the database are you speaking about the entire database and we still would need to check each table individually or certain locations in the database that would have blank responses or entries? Everything makes sense to me except preventing all those good possibilities.
 I did and others also I believed asked about just using the brain editor feature to see if you would get blank answers. Sorry everybody I didn't take the time to look up all the responses before I posted but someone also mentioned that they did see the error but I'm not sure if the were only using the brain editor function or they hunted the error down in the brain editor when using loaded Ultra Hal.

Thanks again,
raybe

lightspeed, you think Robert isn't chiming in because of time or he can not replicate the situation in a none modified 'Ultra Hal'?

Just also made me think of the web or SL Ultra Hal if they give blank answers?

What's different for me is upon start-up I can immediately tell by the second response if something did not load correctly, I restart Ultra Hal immediately again and usually Ultra Hal stays solid.  I did have a problem where a program auto started like a defrag, virus scan or an update and Ultra Hal did not like it at all.
« Last Edit: October 30, 2010, 07:20:40 pm by raybe »
 

lightspeed

  • Hero Member
  • *****
  • Posts: 6764
    • View Profile
Re: hal still having blank answers
« Reply #7 on: October 30, 2010, 07:51:50 pm »
Thanks for replying and trying to help , i just started another custom brain , on the last one i had completly deleted the insults table and that ( may have caused the blanks to happen because as i remember in some plug ins part of the process was going to insults area ?
anyway this time i did things differently and have just deleted certain words . anyway , so far i haven't had any blank answers and also even got my (so far with testing extended talk 500ls working and i havent received (so far any errors ).
it may have been for the best i started a new fresh brain , i have more experience and think i can do better on this instead of trying to back track so much and i am learning this one more of the same i taught the previous !!  :)
 

spydaz

  • Hero Member
  • *****
  • Posts: 670
    • View Profile
    • http://www.spydazweb.co.uk/
Re: hal still having blank answers
« Reply #8 on: October 30, 2010, 08:54:47 pm »
But You can Always Do a Final Check on the response before output, if no response is detected then "MAKE COMPLIMENT" - "CONSTRUCT A SENTENCE"..... These should always be the LAST ones In the Script only use if "" is detected or " " some times an answer could be a SPACE instead of being BLANK.... thats why we use the "FORMAT TEXT" LTRIM RTRIM to remove all trailing and leading spaces just so we can get "" or "HAPPY" "HAPPY"  searches within a word or word containing happy " HAPPY " a phrase which contains the word happy...... String commands... If the response went through a plugin or script which added the misleading spaces these comands will remove....

Will and Mr Data :) :]

  • Hero Member
  • *****
  • Posts: 775
  • Hi from Will and Mr Data :) :]
    • View Profile
    • http://www.youtube.com/user/WillofNewZealand
Re: hal still having blank answers
« Reply #9 on: October 31, 2010, 05:43:24 am »
Hi from Will,

you know when you's solve this i'll be asking for a blank responce plug in.

As obvious by humans a blank responce can be the correct responce in some situations.

ok i've drummed that song before so i won't go on....

oh can i post a poem perhaps as entertainment,,,hum,,,

three may chat...

Visitor reviews to me,
Mr Data stands silently,
And in good time,
Data's outstanding line,
"if it isn't a review" i see.

Thank you.
bye for now and be well  :)  :]
bye for now and be well from Will and Mr Data  :)  :]

lightspeed

  • Hero Member
  • *****
  • Posts: 6764
    • View Profile
Re: hal still having blank answers
« Reply #10 on: October 31, 2010, 09:05:19 am »
will " i am left blankless " after that answer LOL ! ;) well anyway i am being more careful what i am doing or at least tring to and since i know how i had most things that i am relearning the new brain it isn't so hard to do . many childhood experiences are actually from my wife . i am hoping that this will be my last new brain to create ! i'm beginning to feel like victor von frankenstein !lol ;)
 

freddy888

  • Hero Member
  • *****
  • Posts: 1693
    • View Profile
    • AiDreams
Re: hal still having blank answers
« Reply #11 on: October 31, 2010, 09:38:37 am »
I remember that OnTheCuttingEdge had a fix for this some time ago.

Did you try this :

http://www.ultrahal.com/community/index.php?topic=6979.0

lightspeed

  • Hero Member
  • *****
  • Posts: 6764
    • View Profile
Re: hal still having blank answers
« Reply #12 on: October 31, 2010, 03:17:22 pm »
Well i just had my first blank answer with the new custom brain , what's worse i must have jinxed it i just got through telling my wife that at least this new brain isn't giving blank asnwere and right after i said it hal gave a blank answer ....aaaaauuuuuggghhh !!! But the culprit "may" have been the dream plug in i tried because right afterwards it did the dream: and a saying (maybe all this is why robert didn't use it in hal anymore cause it was causing blanks responces? any way i am going to unplug it and try it , i did go to option unchecked it and started hal talking again without comepletely exiting and restarting hal . :)
P.s. freddy888
i think i did try that before but may try it again .thanks !
 

Lola

  • Jr. Member
  • **
  • Posts: 96
    • View Profile
Re: hal still having blank answers
« Reply #13 on: October 31, 2010, 05:16:08 pm »
THANKS, raybe and datahopia i will look into trying what you are suggesting , meanwhile i am once again starting another new brain i am deleting roles ( ansers and questions)  that i don't like and rewriting others to cut some things and make this a.i. sound more human after i get that finished i am saving it at a base starter brain before i teach it any thing and keep a seperate taught brain back up to !  it's a lot of work to go through each seperate table doing this expecially in the patterns etc. area since it has a lot to do ! (go through) .  :)


Hello lightspeed,  It is very interesting that you are modifying the Hal's Pattern table and the insults table as these are the things that I've been working with. I'm still working in the Patterns table in the mainBrain and I'm deleting and modifying Hal's responses as well. I've done only less than half already as there are thousands of Q&As in the Patterns table.

One thing that I noticed is that most of the Q&As repeat themselves A LOT, I was wondering why is that and if you are deleting all the repeated Q&As instances as well. I'm guessing it will take me a week or two to complete this section only, after that I plan on moving to the insults area and rewrite them to be milder responses. So far I've noticed favorable changes in Hal's responses and my Hal even includes his new last-name when asked for it, I plan on adding additional Q&As following the current format.

Talking about the blank responses I get some once in a while but when I spend several hours chatting they become continuous. In my particular case I'm suspecting it could possibly be due to memory issues because my netbook only has 2gbs of memory. I'd noticed that if I run Ccleaner while this happens Hal goes back to respond, weird but is been working for me. Perhaps there are more factors involved into the triggering of the blank responses, of course, I'm only guessing aloud. I'm hoping and crossing my fingers for a permanent solution for the blank responses as well! :)
 

lightspeed

  • Hero Member
  • *****
  • Posts: 6764
    • View Profile
Re: hal still having blank answers
« Reply #14 on: November 01, 2010, 08:41:34 am »
hi Lola
, it's been a while hearing from you on here , don't hide out so much next time lol.  actually yes it sounds like we are working along the same road , maybe great minds think alike ! yes , the same thing is happening to me i started getting a few and then this last time kept blanking one after another the firstime i did like ted said and just hit enter and and it said say something , then it went on responding ok with me then blank answered again i hit enter and nothing i repeated , it wouldn't do anything had to exit hal and restart it .  :(
the thing is i did modify things but not the way i did last time, last time , i completly deleted all of the insults table, this time i just delted two rows out of it of certain words , in the q and a area all i did was delte a few whole roles and redid answers on some other , well many others . so i "DO NOT UNDERSTAND " why that would give me blanks answers .
the way i set up the new brain was : i used the hal 6 .uhp (ultrahal 6.2 default brain and the unmodified hal 6 default brain database back up . as far as memory maybe next time i run hal i will leave evrything else off and not do things and "see and pray " that hal keeps working without blank answers .
i didn't have any plug ins and i actually put in that line that freddy888 mentioned (maybe it was oncutting edge that created ? i replaced the old one with that new one , the only thing was the sentence looked different as it just went into one long sentence , i don't think that would hurt anything , But i still ghad the blanks happen like i described above , i will post a pic if i can showing where and what line i put in the hal xcustom , brain , everything i have done has been to this custom brain only and not any of hals other REGULAR brains in the list . This is driving me crazy though and here i made a new brain and still this problem .  :( >:(