Author Topic: Persistent Memory?  (Read 2992 times)

mcg71

  • Guest
Persistent Memory?
« on: October 24, 2024, 09:25:50 pm »
I'm new to Hal and admittedly haven't spent a lot of time experimenting with it. However, one thing that has really jumped out at me is that there doesn't seem to be persistent memory. I had the idea of possibly using AI to perform as an independent NPC in a D&D campaign with its own thoughts and contributions, but I keep running into the issue of Hal not remembering what it has been told? Is there a way to signify that information should be retained for future retrieval? For example, if I mention a fictional village and some of its characteristics, I'd like the AI to recall those details as memories.

I've looked briefly at the Brain Editor, and it isn't readily apparent to me if this is something that can be done. Would love to hear suggestions or places where I can learn how to more effectively use the Brain Editor. I've been using Role Plai, a mobile app, and it generates interesting stories, but the memory is not persistent over many lines of text. I was hoping to overcome this limitation with Hal. Is this a realistic expectation?

Art

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3933
    • View Profile
Re: Persistent Memory?
« Reply #1 on: October 25, 2024, 08:05:25 am »
Welcome!

Have you experimented with using HAL's Intelligence Slider? While not perfect it can affect learned information.

Have you tried using different Plugins? Some of us have had success using the Markov L5 plugin.

We have also found that Repetition of your statement or question in different forms can help. For instance, Travis is the king of Ramhall. The King of Ramhall is Travis, Ramhall has a King and his name is Travis...and so on.
When doing this, ignore HAL's response and proceed with your next statement.

This seems to give HAL more than one way to respond to future questions regarding the King of Ramhall.

With HAL, some methods work a bit more effectively than others. Have fun with it. Hopefully, some others will weigh in as well.


In the world of AI it's the thought that counts!

- Art -

mcg71

  • Guest
Re: Persistent Memory?
« Reply #2 on: October 25, 2024, 10:32:30 am »
First, thank you for the response! I did play with the slider, I have it somewhere between 32-35. I also played around with the copy from clipboard option last night. I remember reading somewhere on the forum about people using SQL Lite, so I'll look into that as well. I'll check into the Markov L5 plugin, sounds interesting. So far, the only modifications I've done are cosmetic (Margene face w/lip synch and one of the other voices).

Thanks again!

lightspeed

  • Hero Member
  • *****
  • Posts: 6841
    • View Profile
Re: Persistent Memory?
« Reply #3 on: October 25, 2024, 04:38:06 pm »
also something i have found out seems to be in my opinion the larger the brain gets that adjusting the slider a little higher helps , but you have to do it little by little until you see it staying on subject better . i also was using the markov uhp plugin to as it seems to help. me and art both ran test with it.
 

Art

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3933
    • View Profile
Re: Persistent Memory?
« Reply #4 on: October 26, 2024, 09:19:50 am »
Look through the File Sharing section for a more diverse collection of character heads which are very nicely done and certainly better than the original ones that came with HAL!

If you are using HAL's original brain, you shouldn't need the SQLite Studio program yet. The issue happens when HAL's brain gets large and has many tables other than the original ones that shipped with HAL. The issue then becomes that the HalBrain Editor will NOT show all of the associated tables by using the Brain Editor.
The SQLite Studio editor will show all of the Tables but it does have a bit of a learning curve.
------------

You touched on another way to train Hal...the copy and paste in the input box. You can find any site of interest then drag and drop new info into the input box and press Enter to let HAL respond.

Try the Local Wikipedia for quite a large volume of material for HAL to play with for its responses.
-------------

If interested in the Local Wikipedia plugin, you can find the download link here:
https://www.ultrahal.com/community/index.php?topic=17035.msg86640#msg86640
« Last Edit: October 26, 2024, 09:31:09 am by Art »
In the world of AI it's the thought that counts!

- Art -

mcg71

  • Guest
Re: Persistent Memory?
« Reply #5 on: October 30, 2024, 07:49:39 am »
Thanks for the additional suggestions! I've been looking through the forums and trying to learn. I use an AI app on my phone that does a really good job of generating stories, and like Hal, it has a sort of clipboard function that I really like. The appeal of Hal for me is that it would be standalone; if I could get it running as smoothly as the phone app, I'd prefer something that I had more ownership and control over. I'm somewhat familiar with SQL, so I suppose if that comes up in the future, I could stretch my own memory banks and play around with it. As per your suggestions, I'll just stick with the Brain Editor for now. Is there a place on the forums that explains how to install plugins? I'll do a search after this reply.

mcg71

  • Guest
Re: Persistent Memory?
« Reply #6 on: October 30, 2024, 07:52:00 am »
Lightspeed,
I'll definitely use your suggestions as well! Thank you for weighing in. I figured I'd be conservative with the slider for now, but as you've pointed out, it might bear adjusting in the future.

Art

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3933
    • View Profile
Re: Persistent Memory?
« Reply #7 on: October 30, 2024, 11:11:27 pm »
Copy any Plugins you think might be fun or potentially usable for you and your HAL to the C:\Program Files (x86)\Zabaware\Ultra Hal 7 directory.

Open Hal
MENU
General Options
Brain

Select the Brain that you wish HAL to use.

To the far right notice some of the Plugins that you earlier copied to show up.

Select ONE of them! (Sometimes it will have a short description of features or instructions for its use).

Apply
OK

Restart HAL.

Try using that Plugin that you selected. Some are not readily apparent like the loneliness 2.31 or such as they might take time before becoming active.

Some other ones like the Number Guess is a game that the user can play with HAL.
There is a Gender & AGE Plugin where one can assign those attributes to HAL.

Some of us report that our HALs seem to perform well using the Gretta Markov L5 Plugin as well as the Gretta Curiousity Plugin and the Local Wikipedia Plugin contains a great deal of information for your HAL to digest and use.

The reason I cautioned about selecting just ONE Plugin, was to allow one to try a particular plugin with their HAL to see if it performs correctly or causes an error.

If one were to select multiple Plugins all at once then Hal suddenly threw an error, it would or could be difficult to tell where the error came from or what caused it.

This way, if HAL runs according to the Plugin, it should be safe to select another Plugin and follow the same procedure. Wash, rinse, repeat as needed! ;)

After you mess with it a few times, you'll see it's not very difficult. If you have any questions, don't hesitate to ask!

- Good Luck! -

« Last Edit: October 31, 2024, 08:08:09 am by Art »
In the world of AI it's the thought that counts!

- Art -

mcg71

  • Guest
Re: Persistent Memory?
« Reply #8 on: October 31, 2024, 10:38:40 am »
Thanks! Sound easy enough. Greatly appreciate the clear instructions.

Art

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3933
    • View Profile
Re: Persistent Memory?
« Reply #9 on: November 01, 2024, 07:51:31 am »
You are welcome!
In the world of AI it's the thought that counts!

- Art -