dupa

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

Pages: 1 ... 7 8 [9] 10 11
121
I want 5). All the above lol.

Honestly I would prefer 4). A skilled conversationalist able to chat on a wide variety of subjects and the ability to remain on topic for a decent period of time. I can always create plugins for anything special I want Hal to do. Hal is pretty good at conversations currently but some of the responses he gives are strange and off topic. I'd love to see that improve.

122
Lightspeed, yeah, that is exactly what I'm talking about, sensitive info being sent, however if the user has the ability to toggle it on and off that would work.

Carl2, my wiki plugin will only return info if there is one search result available, for example if you search for Michael Jordan, well, there is only one result for Michael Jordan, so Hal will read the first paragraph. However if you search for John Smith it returns back a list of names to choose from. My plugin cant determine who's information you want so I just return a generic response saying that he cant find anything. I can probabally update that to say something like "there are multiple results, please be more specific".

123
Lightspeed, so would the cloud service store information that we all have taught Hal through our own conversions? Or is it just a large database that Hal can grab from? I'd hope its the latter, I dont think I'd want my conversions to be stored for everyone to see  :-\. Conversions like storing addresses or contacts or even talking about family members, who knows were a conversion can lead. I guess having the ability to switch it on and off would be cool.  8) If you wanted to contribute to the community then switch it on and start talking!

124
Carl2, I think you might have copied the code I pasted in one of the earlier posts. That was just an example. I do use a keyword search .Navigate "https://en.wikipedia.org/wiki/"&SearchKeyWords&"". Download the actual plugin I attached.

125
Yes, Hal response quick when you hit enter, but when you are using a mic it takes 5 seconds before Hal starts to response, I'm assuming its to make sure you have finished what you are saying to Hal.

126
Well, you know what they say...the sky is the limit! So many cool possibilities for this program! One thing I've been trying to figure out is to have Hal respond quicker when talking to him. Currently there is a 5 second delay before he answers. I remember in another post someone said that it was a setting in one of the DLL files and cant be changed. I really hope we can find a way to remove the delay.

127
Thanks Lightspeed!
Yes, Hal will read you back the content rather than opening a webpage. I wanted to make Hal seem more like Watson were he has this endless amount of knowledge of pretty much anyone you ask about. I think your right on about Hal sounding more human, I should probably change the "search for" to "what do you know about" or something like that. Anyways, I plan on making more updates to the plugin, I'm thinking of adding the ability to have Hal continue reading more of the content on the page, maybe by saying something like "anything else?". Currently Hal only reads the first paragraph which in most cases provide plenty of good info, some searches only have a few words of info.

128
Thanks Art!

129
I'd like to add that Hal will speak the content that is returned from Wikipedia!

130
Hey guys, I finally got it to work! If you tell Hal "search for michael jordan" Hal will search Wikipedia and return you the first paragraph of content. Works pretty good but there is always room for improvement. If you search for a name that doesnt exist Hal will respond with "Sorry, I can't find anything" however if you type in something like "search for fjskfjkfjksf" Hal throws an object required error for the ie.document.getElementById. I cant figure out how to have Hal check to see if the object exists. If anyone could figure that out please feel free to update the plugin. Otherwise have fun with it! Let me know what you think!

131
Thanks for the info! That would be perfect! I'll check it out! Is there a link to his plugin?

132
Thanks for the reply Carl2! I'm trying to take the "wiki" a step further. I want to give Hal a search term like "Michael Jordan" then have Hal go to the wiki page for Michael Jordan then grab and save the text from the first few paragraphs in a variable, then I want to have Hal read the paragraph (text) that was stored. I attached the working code in a standard vbs file. It grabs the first two paragraphs no problem but I cant get it to work in the plugin. 

133
Hi guys, I'm stumped!! I'm trying to create a hal plugin that will go out to wikipedia and grab a portion of the content and display it. I created a vbscript program that does this and works fine on its own, however when I try to put it in a uhp file and add it as a plugin it doesn't work, so many different errors no matter what I do. Below is the code, please let me know there is a way to get it working.


Rem Type=Plugin
Rem Name=KITT Wiki
Rem Author= Victor
Rem Host=Assistant

'------------------------------------------------------------------------------------------------------
' KITTWiki.uhp - Release 1.0 by Victor Yacobucci. 02-25-2016
'------------------------------------------------------------------------------------------------------
Rem PLUGIN: PLUGINAREA1

vrToSearch = ""
vrToSearch = UCase(HalBrain.SearchPattern(UserSentence, "*search for*", 2))
GetResponse = "searching for "& vrToSearch &" "


'    Declaration of variables
Dim ie
 '    Declaration of subroutines
'    Sub WaitForLoad waits for webpage to finish loading
'    before proceeding with next line of code
Sub WaitForLoad
    Do while ie.Busy or ie.readystate <> 4
        wscript.sleep 2000
    Loop
End Sub
 '    Open windows Internet explorer and surf to website
set ie = CreateObject("InternetExplorer.Application")
With ie
    .Navigate "https://en.wikipedia.org/wiki/Michael_Jordan"
    .Toolbar=0
    .StatusBar=0
    .Height=560
    .Width=1000
    .Top=0
    .Left=0
    .Resizable=0
    WaitForLoad
    .Visible = false
end with
 '  Add code below to display in a msgbox the contents of each cell in column 0 (first column) should loop for each row.
 dim element
 dim counter
 dim item
Set element = ie.document.getElementById("mw-content-text").getElementsByTagName("p")
   counter = 1
   For Each x In element
      If(counter < 3) Then
      content = Replace(x.innerText,"[","")
      content = Replace(x.innerText,"]","")
      content = Replace(x.innerText,"(","")
      content = Replace(x.innerText,")","")
          MsgBox content
        End If
        counter = counter + 1
    Next



134
Ultra Hal 7.0 / Re: Speech recognition response delay
« on: September 14, 2015, 12:57:29 pm »
Sorry guys, the website is a bit outdated, click here to skip the homapage http://gameblurt.com/kitt/main.html

135
Ultra Hal 7.0 / Re: Speech recognition response delay
« on: September 11, 2015, 11:52:01 am »
Sorry for the late reply, yes I have a website for my project, you can see it here http://gameblurt.com/kitt

You might just recognized the car  :)

Pages: 1 ... 7 8 [9] 10 11