google-gemini/generative-ai-dart

Make consistent chats easier to save and restore

Opened this issue · 3 comments

This SDK could also make it so that chats could become consistent between different sessions.

As of right now, people could wrap around chats and models to recreate the chats from history but it would be a nice addition if this were already built-in.

With options for the user to save and restore it in a file or something similar.

Any suggestions or considerations are welcome.

How do I even wrap around chats?

I was personally looking into doing something with ChatSession.history but I stopped working on that.