gustavz / DataChad

Ask questions about any data source by leveraging langchains
https://datachad.streamlit.app/
Apache License 2.0
314 stars 80 forks source link

Is there conversational memory, or just document retrieval? (Question) #5

Open soccerwithag opened 1 year ago

soccerwithag commented 1 year ago

Since ConversationBufferMemory is not used, wondering if/how there is conversational memory. Sorry if dumb question. Appreciate this work. Thanks

gustavz commented 1 year ago

Yes we store conversation in a streamlit session state variable st.session_state["chat_history"] and pass it to the chain on each call.