Spaces:
Running
Running
Update custom_utils.py
Browse files- custom_utils.py +0 -2
custom_utils.py
CHANGED
@@ -338,8 +338,6 @@ def get_millis_elapsed(db, collection, pipeline):
|
|
338 |
|
339 |
explain_vector_search = explain_query_execution["stages"][0]["$vectorSearch"]
|
340 |
|
341 |
-
print(explain_vector_search)
|
342 |
-
|
343 |
return explain_vector_search["explain"]["collectors"]["allCollectorStats"]["millisElapsed"]
|
344 |
|
345 |
def get_text_embedding(openai_api_key, text):
|
|
|
338 |
|
339 |
explain_vector_search = explain_query_execution["stages"][0]["$vectorSearch"]
|
340 |
|
|
|
|
|
341 |
return explain_vector_search["explain"]["collectors"]["allCollectorStats"]["millisElapsed"]
|
342 |
|
343 |
def get_text_embedding(openai_api_key, text):
|