Spaces:
Sleeping
Sleeping
shresthasingh
commited on
Commit
•
bdd5941
1
Parent(s):
b34316b
Update app.py
Browse files
app.py
CHANGED
@@ -62,7 +62,7 @@ def mariela_retrieve(question, collection_name):
|
|
62 |
return f"Collection '{collection_name}' not found. Please upload and parse files for this collection first."
|
63 |
|
64 |
vs = vs_dict[collection_name]
|
65 |
-
results = vs.similarity_search(question, k=
|
66 |
|
67 |
formatted_results = []
|
68 |
for i, doc in enumerate(results, 1):
|
|
|
62 |
return f"Collection '{collection_name}' not found. Please upload and parse files for this collection first."
|
63 |
|
64 |
vs = vs_dict[collection_name]
|
65 |
+
results = vs.similarity_search(question, k=12)
|
66 |
|
67 |
formatted_results = []
|
68 |
for i, doc in enumerate(results, 1):
|