Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -114,9 +114,9 @@ if query and st.session_state.documents_loaded:
|
|
114 |
# Create the retrieval QA chain
|
115 |
qa_chain = RetrievalQA.from_chain_type(
|
116 |
retriever=st.session_state.vector_store.as_retriever(),
|
117 |
-
chain_type="stuff",
|
118 |
llm=llm,
|
119 |
-
chain_type_kwargs={"prompt": qa_prompt}
|
120 |
)
|
121 |
|
122 |
response = qa_chain({"question": query})
|
|
|
114 |
# Create the retrieval QA chain
|
115 |
qa_chain = RetrievalQA.from_chain_type(
|
116 |
retriever=st.session_state.vector_store.as_retriever(),
|
117 |
+
#chain_type="stuff",
|
118 |
llm=llm,
|
119 |
+
#chain_type_kwargs={"prompt": qa_prompt}
|
120 |
)
|
121 |
|
122 |
response = qa_chain({"question": query})
|