bstraehle commited on
Commit
b48d5f7
·
verified ·
1 Parent(s): 2d67e97

Update custom_utils.py

Browse files
Files changed (1) hide show
  1. 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": 3,
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": 10,
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}},