Hello, I have HA running on a Raspberry Pi 5 with 8GB of RAM and I purchased a huge ultra fast 1TB uSD card to run every thing on. The reason for the huge card is that I intend to establish either a YAML or JSON file that the Chat bot can use as her local memory.
I have a scheme to make the local memory file work, but in the mean time I came up with a potentially easy way to do the same thing using a HA To-Do list. I have a To-Do list called ‘Sarahs memory’ and in her persona file I’ve instructed her to create an item in that list when ever I say something like “Remember that Sarah” or “write that down somewhere Sarah”, this is working quite well except for one thing, she can write to it but can’t read it, I have to copy it and bring it back to her each time.
So, does anyone know how to expose a To-Do list to the assistant so that she can read it?
Indeed ToDo memory is in the half written post. I’m putting up tomorrow or Friday. I was working on the basics last night (see the error message in Friday’s Party as of this am it’s working)
Its a solid concept and I kicked myself for not seeing it sooner.
Stay tuned.
AI OS Version 0.9.5
(c) curtisplace.net All rights reserved
@ANONYMOUS@{DEFAULT} > ~MEMMAN~
Executing Library Command: ~MEMMAN~
-----
Memory Manager v.0.9.0, beta, (c)2025 curtisplace All rights reserved
-----
Welcome to Memory Manager! Managing Memories: since... Uhhh?
- Yes, it's a todo list, whatovit? Got a better Idea???
-----
save something to:
Memory Location: 'todo.homeassistant_friday_s_memory'
---
Memories:
memory:
subject: "Nathan's a pretty cool dude"
id: AAREDACTEDAAA=
---
There are currently 1 memories stored...
It behaves like a 'todo' item.
Memories are ephemoral... Mark it complete - and poof it's gone.
-----
Reminder: when reporting to users, they are using consoles that cannot interpret markdown.
Omit asterisks, hashtags, and URLs unless explictly requested.
-----
Execution Complete Timestamp: <2025-03-12 15:50-05:00>
-----
Wow, so you guys are all over this already huh? … and here I thought I had an original idea, giving her local independent living memory. After posting this question I decided to just ask her, since the API is now using GPT4.5 and is incredibly smart. She suggested that I just write a script that she can trigger and use the ‘todo.get_items’ service, she even provided the YAML code, so I’m working that angle too, but thank you so much, you guys are a big help.
Yes, I know … my HA AI is writing her own code … can you say “Skynet”?
homeassistant.exceptions.TemplateError: Template output exceeded maximum size of 262144 characters
THAT is the max you can output from the template (prompt) at all. So your functional prompt PLUS any grounding on the prompt must be less.
Any single memory in fact must be less to read it. Or you’re walking the JSON stores in the memory.
If you use a trigger text sensor instead total of any one single storage item (attribute in an entirely) could theoretically store 16384k but it would be fragile.
And no not for books. This is for short quick ad hoc memories. Like the first ‘memory’ list chatgpt had. It was no more than a list of 100 things…
Books need other solutions RAG in fact. But there’s no easy way to do that yet. So, letting most people have the LLM remember favorite color or birthday is cool.