Update run.py
Browse files
run.py
CHANGED
@@ -288,7 +288,7 @@ def response(
|
|
288 |
search_prompt = format_prompt(prompt, history)
|
289 |
results=collection.query(
|
290 |
query_texts=[search_prompt],
|
291 |
-
n_results=
|
292 |
)
|
293 |
|
294 |
dists=["<br><small>(relevance: "+str(round((1-d)*100)/100)+";" for d in results['distances'][0]]
|
|
|
288 |
search_prompt = format_prompt(prompt, history)
|
289 |
results=collection.query(
|
290 |
query_texts=[search_prompt],
|
291 |
+
n_results=60
|
292 |
)
|
293 |
|
294 |
dists=["<br><small>(relevance: "+str(round((1-d)*100)/100)+";" for d in results['distances'][0]]
|