Recommendations for persisting chat history locally #5860
Answered
by
sophialagerkranspandey
deepinderdeol
asked this question in
Q&A
-
Any recommendations for persisting chat history locally - which database is the best option, Sqlite, DuckDb or something else? Let's say we keep the most recent 20 messages + the System_Msg in ChatHistory and save the rest to the history-database - most likely the context needed for answering user-queries would be available in ChatHistory, but say it isn't then we could search/retrieve info from the persisted chat-history - does this sound like a reasonable approach or is there a better way to handle these scenarios? |
Beta Was this translation helpful? Give feedback.
Answered by
sophialagerkranspandey
Apr 15, 2024
Replies: 1 comment
-
This makes sense as a approach may of the SQL options you described would work. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
sophialagerkranspandey
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This makes sense as a approach may of the SQL options you described would work.