cools commited on
Commit
529b072
1 Parent(s): 9dc457e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -34,7 +34,7 @@ def search_index(query):
34
  print(index)
35
  print(index.query)
36
  print(index.query(vector=vector,top_k=10,include_values=False,include_metadata=True).to_dict())
37
- return index.query(vector=vector,top_k=10,include_values=False,include_metadata=True).to_dict()
38
 
39
 
40
 
 
34
  print(index)
35
  print(index.query)
36
  print(index.query(vector=vector,top_k=10,include_values=False,include_metadata=True).to_dict())
37
+ return index.query(vector=vector,top_k=10,include_values=False,include_metadata=True).to_dict()['matches']
38
 
39
 
40