Update app.py
Browse files
app.py
CHANGED
@@ -167,12 +167,7 @@ def handle_userinput(user_question ):
|
|
167 |
st.session_state.chat_history.append({"role": "user", "content": user_question})
|
168 |
|
169 |
|
170 |
-
|
171 |
-
docs = retriever.invoke(user_question)
|
172 |
-
|
173 |
-
|
174 |
-
|
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})
|
|
|
167 |
st.session_state.chat_history.append({"role": "user", "content": user_question})
|
168 |
|
169 |
|
170 |
+
|
|
|
|
|
|
|
|
|
|
|
171 |
|
172 |
# Invoke conversation chain
|
173 |
response = st.session_state.conversation.invoke({"question": user_question})
|