Infinite memory ChatGPT using embeddings

I created an infinite memory ChatGPT

How does it work? I create a local history of the chat and a remote history in a vector database which is embedded messages from ChatGPT At prompt time, I run a search with the fresh local history (embedded)

Might not be optimal, coded this is 5 minutes, and might also store user history.

1 Like