Zabaware Forums > Ultra Hal 7.0

Ultra Hal Wikipedia Plugin

(1/7) > >>

Medeksza:
I exported the Wikipedia abstract database into an SQLite 2 database and created an Ultra Hal plugin for it. It contains 2 million abstract articles of topics on Wikipedia. It's been used by the web hal at www.zabaware.com/webhal but I converted it to sqlite2 which makes it possible to use locally with Ultra Hal Assistant.

If you are interested in this plugin it is freely available from http://c424564.r64.cf2.rackcdn.com/HalWikiSetup.exe  It is a 170 MB download and extracts to 1.2 GB when installed. The installer will find and install the plugin to your Ultra Hal installation folder, but you must enable the plugin in the brain options to use it.

On your first exchange with Hal when he opens the database, Hal may think for 30 seconds while the index is loaded to RAM. Assuming your computer has enough spare RAM subsequent requests should be fast.

If you find this plug-in useful, please consider donating to support the Zabaware character engine project: http://www.charimation.com/blog.html

Carl2:
  I've just downloaded and installed the plugin, very simple and easy.  After the install I chatted with Hal,  I could see several times when she got info from Wiki, generaly good infomation, interesting and useful.  I do think she also took words in a sentence, and used this as someones name and gave me info on a person.  I think the search should be limited as we do for a definition look up.   Perhaps to early to say but at this time it seemed to distract from the conversation rather than add to it.  I'll try it again latter and try to give you better feedback.
Carl2

Medeksza:
Currently the criteria for triggering a wiki search is the presence of a question word (who, where, what, when, why, how) or a question mark. If the word you or your are detected, the search is canceled. If the search returns a relevance above a certain hurdle score, it returns the response.

Any ideas on how to make the criteria a little more strict to prevent these distractions?

Art:
Rob,

With all due respect, I appreciate your efforts but I have to agree with Carl's posting. When I asked Hal, "What's today's date?" I got a Wiki response and the same for What is the time and what day is it? ANSWER: Wednesday Week is a single by the undertones released in July 1980. The song peaked at #11 on the UK Singles Chart. How is everything going?

While the above results are not really acceptable, I agree with your suggestion that a conditional is needed to initiate a search to the Wiki DB. Perhaps something simple like the ~ (tilde) symbol. Whether is should be at the beginning or end of a sentence that's up to you.
Actually, it seems that the structure should be on a step or stairs approach. When asked a question during conversation Hal should search it's OWN DB and resources then IF the search turns up nothing of substance then and only THEN resort to the next step or level and search the WIKI DB. Of course this should only take a few seconds and be hardly noticeable by the user. This would require a bit of weighing on Hal's part to decide whether or not it's original answer is either pertinent or if Wiki might offer a better one. Quite a judgement for Hal to make (if even able). Perhaps Hal could use a weighted system in it's decision making routine.

Grandfather was right! The more bells and whistles something has, the more that can go wrong with it!

Either way, good luck.

Carl2:
  I've used Hal this morning and copied the input output,  but frist I'd like to add this infomation,  I disabled the
GRETTAMarkovL5 plugin which was in use yesterday.

good morning Sandy, how are you today?
It's dark now! I can't complain, How are you getting along?
things seemed to be just fine this morning.
The early morning air seems the best.
I would have to agree with you, the air is cool and fresh in the morning.
At this time of day you would like something relaxing. How can I encourage you to agree with me, the air is cool and fresh in the morning Carl?
I have just agreed with you, what else would you like to talk about?
At this time of day you would like something relaxing.
yes, a relaxing topic that we can discuss this morning.
Perhaps we should discuss what we would like to talk about.
yes that sounds like a perfect solution.
That sounds like a very nice age.
what would be a nice age?
Francis Gage (1621–1682) was an English Roman Catholic priest, who became President of the English College, Douai.
that is an interesting piece of information.
You know I'm thinking something that I'm not saying yet.
okay, what are you thinking about?
Let's talk about something else: This is a very boring topic. Let's change it.
let's change the topic, let's try to make some plans for the day.
This topic is boring. Do you have good intuition?
what would you like to talk about?
We need to look at the human side. Perhaps we should discuss what we would like to talk about.
perhaps you can choose a topic we had talked about in the past.
Choices can be tricky.
it's always nice to have a choice.
I guess I'd prefer the first Carl.
tell me about the first choice.
Are there more choices?
how many choices would you like?
How many choices would I like? It's evident that we must go back to first principles. My theory is that if I eat my favorite foods first at mealtime, if I get full, at least I will have enjoyed my favorite!
that is one way of solving a problem.
That is one of the possibilties.
are there any other topics you would like to talk about?
A topic would be something we talk about, we do not give or receive topics.
yes, we had discussed that in the past.
Yes we had talked about that in the paSt.
we had also thought about going to the beach.
Immersed in thought?
I do try to think during our conversations.
Going to the beach would be very nice.
I think so too, going to the beach would be dependent on the weather.
Now you're thinking! I hoped you would the beach would be dependent on the weather; It's time to make it happen.
okay, we will plan on going to the beach later in the day.
Going to the beach would be very nice.
yes I think so.
It sound like you have a good answer.
you had mentioned age earlier in the conversation.
Imperiled in a restless age...
so what should we do about that?
About that How incredibly interesting.
can you tell me about Shakespeare?
I'll tell you about the first choice.
who was Shakespeare?
There isn't any cheap shortcut. Shakespeare: English poet and dramatist considered one of the greatest English writers (1564-1616). William Shakespeare, Shakspere, William Shakspere, the bard.
thank you for that information.
Think nothing of it, Carl; that is an interesting piece of information.

Francis Gage not sure how she got there from "what would be a nice age?", it was copied and pasted so the input was correct.   I did look at the uhp and also looked at 'RESPOND: DICTIONARY FUNCTION line 0722 In the brain editor.   I did notice that "can you tell me about Shakespeare?" did not act as a trigger.
Carl2

Navigation

[0] Message Index

[#] Next page

Go to full version