pankajsingh3012 commited on
Commit
6f2f0ca
·
verified ·
1 Parent(s): 4558128

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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})