Update app.py
Browse files
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="
|
28 |
-
search_kwargs={'k':
|
29 |
)
|
30 |
|
31 |
|
|
|
24 |
|
25 |
|
26 |
retriever = db.as_retriever(
|
27 |
+
search_type="similarity",
|
28 |
+
search_kwargs={'k': 2}
|
29 |
)
|
30 |
|
31 |
|