[Feature request] Update memory/thread resourceId for continuous user history
VectorStorageMemory
Hi folks,
In my application I allow anonymous users to have a rate limited chat, where they're identified by a visitor ID set in their cookies, and that is set as the resourceId. If they then signup after hitting a rate limit or whatever, then I need to migrate and "upgrade" their resourceId to an actual User UUID. Currently there's no way to update all thread/messages resourceId via the memory instance. For now, I'm manually updating the various postgres tables, but it would be nice if there was a first party helper to do so, to avoid any potential data corruption or drift.
And just to verify i'm updating the right tables, right now any table with resourceId I'm migrating: -