LLocalSearch icon indicating copy to clipboard operation
LLocalSearch copied to clipboard

Chat history

Open dillfrescott opened this issue 1 year ago • 3 comments

Not sure if this is already suggested but i searched "history" on the issues page and nothing really showed up.

dillfrescott avatar Apr 05 '24 21:04 dillfrescott

And by chat history i mean a tab with all your chats

dillfrescott avatar Apr 05 '24 21:04 dillfrescott

I'm going to implement this one today :)

Features

  • generate a short title for each chat after the first exchange (maybe update after each one?)

Stage 1 - Without user accounts or DB.

Does not save chats over server restart

  1. save all used session ids in browsers local storage
  2. get chat history for each one from the server
  3. set session id on opening an old chat

Stage 2 - With object dump

  • same thing, but server dumps the session / history map on exit and loads it on start

Stage 3 - With database

  • way more secure than object dumps

Stage 4 - With user accounts

  • allows sync over different devices

nilsherzig avatar Apr 06 '24 08:04 nilsherzig

Ooooooo sounds great!

dillfrescott avatar Apr 06 '24 09:04 dillfrescott