Storing data from users

hello, I have a chatbot deployed on streamlit, is there a way to store questions and answers asked by the users?

If you are wanting the data to persist past their session, you should connect your app to an external data source. While it is possible to write to your app’s “local directory” on Streamlit Cloud, this is not persistent. As soon as your app reboots, the data would be lost.

Here are an assortment of connection tutorials, but you are free to connect to any other storage that you would normally use from Python:

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.