Spaces:
Running
Running
Update custom_utils.py
Browse files- custom_utils.py +2 -2
custom_utils.py
CHANGED
@@ -174,7 +174,7 @@ def vector_search(openai_api_key,
|
|
174 |
# "queryVector": query_embedding,
|
175 |
# "path": "description_embedding",
|
176 |
# "numCandidates": 150,
|
177 |
-
# "limit":
|
178 |
# }
|
179 |
#}
|
180 |
|
@@ -184,7 +184,7 @@ def vector_search(openai_api_key,
|
|
184 |
"queryVector": query_embedding,
|
185 |
"path": "description_embedding",
|
186 |
"numCandidates": 150,
|
187 |
-
"limit":
|
188 |
"filter": {
|
189 |
"$and": [
|
190 |
{"accommodates": {"$eq": accommodates}},
|
|
|
174 |
# "queryVector": query_embedding,
|
175 |
# "path": "description_embedding",
|
176 |
# "numCandidates": 150,
|
177 |
+
# "limit": 25,
|
178 |
# }
|
179 |
#}
|
180 |
|
|
|
184 |
"queryVector": query_embedding,
|
185 |
"path": "description_embedding",
|
186 |
"numCandidates": 150,
|
187 |
+
"limit": 25,
|
188 |
"filter": {
|
189 |
"$and": [
|
190 |
{"accommodates": {"$eq": accommodates}},
|