nirmalaag commited on
Commit
00e6e5e
·
verified ·
1 Parent(s): 2ca71d8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -71,7 +71,7 @@ def main():
71
  #st.write(docs)
72
  #chain = load_qa_chain(llm=llm, chain_type="stuff")
73
  #response = chain.run(input_documents=docs, question=query)
74
- retriever=vector_store.asimilarity_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)
 
71
  #st.write(docs)
72
  #chain = load_qa_chain(llm=llm, chain_type="stuff")
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)