Update app.py
Browse files
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 |
|