Hacker News new | ask | show | jobs
by vorticalbox 1203 days ago
how do you make it remember past information if you do not store the past chat history?
1 comments

I store last 5 messages in-memory (there's no way for anyone to access that. On restarts, it's gone). I know the consequences of this but it's not that noticeable because ChatGPT itself has some contextual memory. And I'm hosting on single node right now.
I have plans for some other personalised features which will need some storage of information. But that will be opt-in based.