dodeeric / langchain-ai-assistant-with-hybrid-rag

This is a LLM chatbot coded with LangChain. The web interface is coded with Streamlit. It implements a hybrid RAG (keyword and semantic search) and chat memory.
https://bmae-ragai-webapp.azurewebsites.net
GNU General Public License v3.0
8 stars 1 forks source link

admin password should remain ok when we switch between chat/admin #33

Closed dodeeric closed 1 month ago

dodeeric commented 1 month ago

st.session_state.input_password = st.sidebar.text_input("Enter admin password: ", type="password") ==> resets the input_password each time

dodeeric commented 1 month ago

copilot: in streamlit, how to avoid st.text_input to clear the variable?