mery22 commited on
Commit
d2f6d45
1 Parent(s): 08b0715

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -24,8 +24,8 @@ db = FAISS.load_local("faiss_index", HuggingFaceEmbeddings(model_name='sentence-
24
 
25
 
26
  retriever = db.as_retriever(
27
- search_type="mmr",
28
- search_kwargs={'k': 1}
29
  )
30
 
31
 
 
24
 
25
 
26
  retriever = db.as_retriever(
27
+ search_type="similarity",
28
+ search_kwargs={'k': 2}
29
  )
30
 
31