Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -32,8 +32,8 @@ vectorstore.persist()
|
|
32 |
qa = RetrievalQAWithSourcesChain.from_chain_type(
|
33 |
llm=llm,
|
34 |
chain_type="stuff",
|
35 |
-
retriever=vectorstore.as_retriever(search_type="mmr"),
|
36 |
-
|
37 |
return_source_documents=True,
|
38 |
max_tokens_limit=4000
|
39 |
)
|
|
|
32 |
qa = RetrievalQAWithSourcesChain.from_chain_type(
|
33 |
llm=llm,
|
34 |
chain_type="stuff",
|
35 |
+
#retriever=vectorstore.as_retriever(search_type="mmr"),
|
36 |
+
retriever=vectorstore.as_retriever(),
|
37 |
return_source_documents=True,
|
38 |
max_tokens_limit=4000
|
39 |
)
|