ArturG9 commited on
Commit
a117a0d
1 Parent(s): 9a44049

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -175,7 +175,7 @@ def handle_userinput(user_question,vectorstore,conversation ):
175
  doc_txt = [doc.page_content for doc in docs]
176
 
177
  # Invoke conversation chain
178
- response = st.session_state.conversation.invoke({"context": docs, "question": user_question})
179
  st.session_state.chat_history.append({"role": "assistant", "content": response})
180
 
181
  for i, message in enumerate(st.session_state.chat_history):
 
175
  doc_txt = [doc.page_content for doc in docs]
176
 
177
  # Invoke conversation chain
178
+ response = st.session_state.conversation.invoke({"question": user_question})
179
  st.session_state.chat_history.append({"role": "assistant", "content": response})
180
 
181
  for i, message in enumerate(st.session_state.chat_history):