Update run.py
Browse files
run.py
CHANGED
@@ -177,7 +177,7 @@ def response(
|
|
177 |
addon=""
|
178 |
results=collection.query(
|
179 |
query_texts=[prompt],
|
180 |
-
n_results=
|
181 |
)
|
182 |
|
183 |
dists=["<br><small>(relevance: "+str(round((1-d)*100)/100)+";" for d in results['distances'][0]]
|
|
|
177 |
addon=""
|
178 |
results=collection.query(
|
179 |
query_texts=[prompt],
|
180 |
+
n_results=50
|
181 |
)
|
182 |
|
183 |
dists=["<br><small>(relevance: "+str(round((1-d)*100)/100)+";" for d in results['distances'][0]]
|