Spaces:
Sleeping
Sleeping
januarevan
commited on
Commit
•
10a8d15
1
Parent(s):
5768645
init
Browse files
main.py
CHANGED
@@ -129,7 +129,7 @@ async def rag(request: RAGRequest):
|
|
129 |
document_to_embeddings(question)
|
130 |
],
|
131 |
limit=5, # Return top 3 results
|
132 |
-
search_params={"metric_type": "COSINE"}, # Inner product distance
|
133 |
output_fields=["content"], # Return the text field
|
134 |
)
|
135 |
|
|
|
129 |
document_to_embeddings(question)
|
130 |
],
|
131 |
limit=5, # Return top 3 results
|
132 |
+
# search_params={"metric_type": "COSINE"}, # Inner product distance
|
133 |
output_fields=["content"], # Return the text field
|
134 |
)
|
135 |
|