generative-ai-dart icon indicating copy to clipboard operation
generative-ai-dart copied to clipboard

Make consistent chats easier to save and restore

Open FMorschel opened this issue 2 years ago • 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.

FMorschel avatar Feb 16 '24 11:02 FMorschel

How do I even wrap around chats?

muddi900 avatar Apr 04 '24 17:04 muddi900

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

FMorschel avatar Apr 10 '24 10:04 FMorschel

If we have a dedicated History class and pass it off to a ChatSession.

On Wed, Apr 10, 2024, 3:44 PM FMorschel @.***> wrote:

I was personally looking into doing something with ChatSession.history https://github.com/google/generative-ai-dart/blob/main/pkgs/google_generative_ai/lib/src/chat.dart but I stopped working on that.

— Reply to this email directly, view it on GitHub https://github.com/google/generative-ai-dart/issues/74#issuecomment-2047189975, or unsubscribe https://github.com/notifications/unsubscribe-auth/AI2VVZRWLLTEJCNA23ZVMATY4UJZRAVCNFSM6AAAAABDL3V23SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANBXGE4DSOJXGU . You are receiving this because you commented.Message ID: @.***>

muddi900 avatar Apr 10 '24 11:04 muddi900