Replies: 2 comments 1 reply
-
To be honest, I haven’t found it to be super useful in practice. But basically the LLM is given an optional function to call if the user just told it something which is the kind of thing they would expect their assistant to remember about them. Then all memories are appended as part of the system prompt here: https://github.com/AllYourBot/hostedgpt/blob/main/app/services/ai_backend.rb#L94 It’s a naive implementation that wouldn’t scale if it started to remember too many things. It also doesn’t account for naturally forgetting information. I’ve found it a little useful in voice mode. I told it my wife’s name, my wife’s email address, so now I can simply make reference to her by name and it knows who I’m talking about. So it works well to teach it basic facts about yourself. |
Beta Was this translation helpful? Give feedback.
-
I just found Assistant Memories pretty useful for remembering a fact when doing some research: the date a building was built and who owns it now. That memory allowed the AI to make other connections and seemed to 'unlock' some knowledge about the connection that it couldn't find originally. I might add an Issue to allow deleting individual memories with a little trash can beside each one, like ChatGPT has. |
Beta Was this translation helpful? Give feedback.
-
I saw that my HostedGPT instance created one memory. It's a nice memory that it created, but I was wondering how this works? I saw that ChatGPT has the same thing. When are memories created? How are they used in the prompts?
Beta Was this translation helpful? Give feedback.
All reactions