Spaces:
Sleeping
Sleeping
ids
Browse files
app.py
CHANGED
|
@@ -62,7 +62,8 @@ milvus_data = []
|
|
| 62 |
for i, emb in enumerate(embeddings):
|
| 63 |
item = metas[i]
|
| 64 |
milvus_data.append({
|
| 65 |
-
"id":
|
|
|
|
| 66 |
"vector": emb,
|
| 67 |
"text": item["text"],
|
| 68 |
"annotation": item["annotation"],
|
|
|
|
| 62 |
for i, emb in enumerate(embeddings):
|
| 63 |
item = metas[i]
|
| 64 |
milvus_data.append({
|
| 65 |
+
"id" : i,
|
| 66 |
+
"index": item["index"],
|
| 67 |
"vector": emb,
|
| 68 |
"text": item["text"],
|
| 69 |
"annotation": item["annotation"],
|