Do you know how it does this? It reads all your previous prompts and its responses as a big pre-prompt. All that “memory” is just feeding your whole conversation back into it:
The memories feature is a bit different. That’s true within a single conversation but it will also save whatever it determines to be key facts it should remember and save them into a separate location. Then it feeds all that into every new conversation.
I am pretty sure it doesn’t feed the whole interaction back in. My local models can do the same, they have access to a tool that lets them save summaries and important facts into a local file that is accessible for every chat i start.
Have they changed their implementation? Because they used to do what everyone else does, the efficient thing: Store important-sounding facts in memory markdown files.
If it read all your previous prompts, that would be a metric fucktonne of uncached input tokens, which cost monies
If you’re looking for specifics, beads is an open-source implementation of memory for LLMs. Gas Town is the sloppiest slop that was ever slopped, though, so I’m not sure how much the code and/or documentation will be enlightening.
Do you know how it does this? It reads all your previous prompts and its responses as a big pre-prompt. All that “memory” is just feeding your whole conversation back into it:
https://youtube.com/shorts/WP5_XJY_P0Q?is=X2ua1BeN4_ZyG6Yt
That’s why it’s limited for free users; larger prompts means more token processing
The memories feature is a bit different. That’s true within a single conversation but it will also save whatever it determines to be key facts it should remember and save them into a separate location. Then it feeds all that into every new conversation.
I am pretty sure it doesn’t feed the whole interaction back in. My local models can do the same, they have access to a tool that lets them save summaries and important facts into a local file that is accessible for every chat i start.
Have they changed their implementation? Because they used to do what everyone else does, the efficient thing: Store important-sounding facts in memory markdown files.
If it read all your previous prompts, that would be a metric fucktonne of uncached input tokens, which cost monies
If you’re looking for specifics, beads is an open-source implementation of memory for LLMs. Gas Town is the sloppiest slop that was ever slopped, though, so I’m not sure how much the code and/or documentation will be enlightening.
I love using my mandated corpo account for nothing but personal projects.