Replies: 1 comment 3 replies
-
Awesome! Would love to add a version of this in the main repo if you get it working.
That's expected since docker restart will clear the memory and you're using an InMemoryStore. You'd need to use another store like Postgres or maybe sqlite to get around that limitation. It's still probably fine for a demo. I wouldn't be able to run it other than InMemory in the hosted demo anyway since it costs $$.
For integrating with the Streamlit UI, you could add a setting / st.dialog for the user to enter their name or use some |
Beta Was this translation helpful? Give feedback.
-
Can we implement a persistent memory across chats using some user_id which we can select in streamlit app.
I am trying to implement it, any ideas are welcome.
I use following ideas:
But this approcah does not persist my memory over docker restarts. And i am unable to integrate this with streamlit ui.
Also what response to return from awrite_memory node, if i send no response, i get error.
Beta Was this translation helpful? Give feedback.
All reactions