Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -73,9 +73,9 @@ def main():
|
|
73 |
#response = chain.run(input_documents=docs, question=query)
|
74 |
retriever=vector_store.similarity_search(query)
|
75 |
st.write(retriever[0].page_content)
|
76 |
-
chain = RetrievalQA.from_chain_type(llm=llm,chain_type="stuff",retriever=retriever[0].page_content)
|
77 |
-
response = chain.run(query)
|
78 |
-
st.write(response)
|
79 |
|
80 |
|
81 |
|
|
|
73 |
#response = chain.run(input_documents=docs, question=query)
|
74 |
retriever=vector_store.similarity_search(query)
|
75 |
st.write(retriever[0].page_content)
|
76 |
+
#chain = RetrievalQA.from_chain_type(llm=llm,chain_type="stuff",retriever=retriever[0].page_content)
|
77 |
+
#response = chain.run(query)
|
78 |
+
#st.write(response)
|
79 |
|
80 |
|
81 |
|