jkomoros / prompt-garden

A framework for gardening LLM prompts
Apache License 2.0
13 stars 1 forks source link

An example with decaying memories #63

Open jkomoros opened 1 year ago

jkomoros commented 1 year ago

Where every so often you fetch a few memories at random, and if they are older than some amount, you summarize them, dropping 50% of fidelity, and then resaving, overwriting the original.

And when you retrieve a memory you re-up it. The amount of decay should be how long since it was last accessed, and how distinctive it is.

jkomoros commented 1 year ago

Just found https://arxiv.org/abs/2308.15022 which has a similar intuition