Multiple chats & local history - conversation sidebar
Closed this issue · 4 comments
ChatGPT-like conversations sidebar to have multiple chats - locally stored on localstorage/indexedDB in your browser. This will make conversations instantly resumeable and reusable.
Can have a transparent UX via left-side hamburger menu, and enable other features such as clearing the conversation, 'forking' a conversation, etc.
Originally posted by @bytesuji in #2 (comment)
It would be fantastic to have. Though having another option for storage would be nice too, i.e. to s3 compatible storage so that would open up the user to various S3 providers like AWS S3, DigitalOcean, Linode, Backblaze, Upcloud, Wasabi and even Cloudflare R2 (which has free egress pricing and only pay for storage and access).
Cloudflare R2
With this as an option, I guess you can make your chat history sessions transportable across devices too 😀
Are there storage solutions which are "bring your API key", so it can be as simple as with the OpenAI API?
If yes, I'd love to have that, and the user could just enter the API key to one of their buckets, and the UI will sync. Please let me know if you know more about this.
With most S3 compatible storage providers, it is just providing such a key though it's usually the KEY + Secret key i.e. for using AWS CLI tool with various S3 providers https://awscli-get.centminmod.com/. Most common I'd accommodate for would AWS S3, DigitalOcean, Linode, Backblaze, and Cloudflare R2. I think most users you'd be targeting your app for would be folks who already use one of these in some form already 😃
I am not that familiar with Node.js but AWS also have examples like https://docs.aws.amazon.com/sdk-for-javascript/v2/developer-guide/s3-node-examples.html and https://docs.aws.amazon.com/sdk-for-javascript/v2/developer-guide/s3-example-creating-buckets.html and https://www.npmjs.com/package/s3-node
Cloudflare R2 S3 compatible storage also have examples https://developers.cloudflare.com/r2/examples/aws/
There's probably already some ready mode S3 library for your stack I'd imagine that you can integrate ?
Closed with db6ce57
Long awaited. Super useful. @centminmod here you go.
For more extensions of this feature (e.g. Titles) - please open new tickets.