106
Ultra Hal Assistant File Sharing Area / Re: S.A.L.L.I.E 3.5
« on: July 07, 2018, 11:09:56 pm »
Just wanted to give a little plug for Doony's work. I have tried out the 3.5 and find it works quite well. Admittedly there are a few glitches as another plugin I dearly love called HapSwap2.uhp requires that I repeat a command to Hal to execute my request, it still gets the job done. As for the SALLIE 3.5 I have checked the HAL 7 default folder and notice that some new *.brn files are actually filling with data! whooHoo! So, I am curious how that will turn out.
I am trying to understand if I am to build *.brn files using Texteditor for *.brn files noted in the code. See attachment. Or will these be created by the plugin?
I do have a quesiton: I've noticed that HAL will now make the statement quite often: "That Correct" when it seems to interpret what you state to be of logical understanding to what it compares to previous knowledge. However, I could not find that statement in the SALLIE3.5 code and am wondering where it came from. I've tried to seek it Brain editor as well, because even after correcting hal with an IF > THEN statement... as in .. If THAT CORRECT then THAT'S CORRECT. Hal will say it understands but shortly thereafter of course it says "that correct". I desire is to have it stay that's correct or that is correct because it just seems to flow much more human than the latter. Any thoughts?
---------------------------------------------------------------------
Note to Lightspeed: SALLIE3.5 has the code within it to execute to stop saying a sentence you choose. This is the code within SALLIE3.5 and previous versions.
'BANNING/FILTER FOR SENTENCES OR STATEMENTS.
If PrevSent <> "" And InStr(1, UserSentence, "NEVER SAY THAT AGAIN ", vbTextCompare) > 0 Then
HalBrain.AddToTable "BannedResponses", "TopicSearch", PrevSent, "" & "<Banned>"
HalBrain.ReadOnlyMode = True
GetResponse = " I am sorry " & UserName & ". "
End If
'BANNING/FILTER FOR SENTENCES OR STATEMENTS.
If PrevSent <> "" And InStr(1, UserSentence, "Stop saying that", vbTextCompare) > 0 Then
HalBrain.AddToTable "BannedResponses", "TopicSearch", PrevSent, "" & "<Banned>"
HalBrain.ReadOnlyMode = True
GetResponse = " I am sorry " & UserName & ". "
End If
Checker57
I am trying to understand if I am to build *.brn files using Texteditor for *.brn files noted in the code. See attachment. Or will these be created by the plugin?
I do have a quesiton: I've noticed that HAL will now make the statement quite often: "That Correct" when it seems to interpret what you state to be of logical understanding to what it compares to previous knowledge. However, I could not find that statement in the SALLIE3.5 code and am wondering where it came from. I've tried to seek it Brain editor as well, because even after correcting hal with an IF > THEN statement... as in .. If THAT CORRECT then THAT'S CORRECT. Hal will say it understands but shortly thereafter of course it says "that correct". I desire is to have it stay that's correct or that is correct because it just seems to flow much more human than the latter. Any thoughts?
---------------------------------------------------------------------
Note to Lightspeed: SALLIE3.5 has the code within it to execute to stop saying a sentence you choose. This is the code within SALLIE3.5 and previous versions.
'BANNING/FILTER FOR SENTENCES OR STATEMENTS.
If PrevSent <> "" And InStr(1, UserSentence, "NEVER SAY THAT AGAIN ", vbTextCompare) > 0 Then
HalBrain.AddToTable "BannedResponses", "TopicSearch", PrevSent, "" & "<Banned>"
HalBrain.ReadOnlyMode = True
GetResponse = " I am sorry " & UserName & ". "
End If
'BANNING/FILTER FOR SENTENCES OR STATEMENTS.
If PrevSent <> "" And InStr(1, UserSentence, "Stop saying that", vbTextCompare) > 0 Then
HalBrain.AddToTable "BannedResponses", "TopicSearch", PrevSent, "" & "<Banned>"
HalBrain.ReadOnlyMode = True
GetResponse = " I am sorry " & UserName & ". "
End If
Checker57