2 ms·
It's likely better to just store them in the database, it could be hours or days later that I want to look at the session again. If you're going to want a datab
by verdverm 11mo ago
It's likely better to just store them in the database, it could be hours or days later that I want to look at the session again. If you're going to want a database for conversation anyway, then it doesn't make sense to cache and query individual messages
- ivan_gammel 11mo agoA database can be the implementation of choice for the cache. But not all use cases do require long-term storage like that.
- verdverm 11mo agoyup, the ADK framework I use handles all that bookkeeping for me, has a few options built in, and pretty easy to add new implementations. I'm extending it to attach filesys+exe changes during a session, persisted as container layers via Dagger