Make consistent chats easier to save and restore
Opened this issue · 3 comments
FMorschel commented
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.
muddi900 commented
How do I even wrap around chats?
FMorschel commented
I was personally looking into doing something with ChatSession.history
but I stopped working on that.
muddi900 commented
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
<#74 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AI2VVZRWLLTEJCNA23ZVMATY4UJZRAVCNFSM6AAAAABDL3V23SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANBXGE4DSOJXGU>
.
You are receiving this because you commented.Message ID:
***@***.***>