Fix Milvus DataNotMatchException lint-and-format
This commit is contained in:
parent
e0bb6093b0
commit
77a42a37ca
1 changed files with 1 additions and 1 deletions
|
|
@ -1284,7 +1284,7 @@ async def merge_nodes_and_edges(
|
||||||
"content": f"{edge_data['src_id']}\t{edge_data['tgt_id']}\n{edge_data['keywords']}\n{edge_data['description']}",
|
"content": f"{edge_data['src_id']}\t{edge_data['tgt_id']}\n{edge_data['keywords']}\n{edge_data['description']}",
|
||||||
"source_id": edge_data["source_id"],
|
"source_id": edge_data["source_id"],
|
||||||
"file_path": edge_data.get("file_path", "unknown_source"),
|
"file_path": edge_data.get("file_path", "unknown_source"),
|
||||||
"weight": 0
|
"weight": 0,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
await relationships_vdb.upsert(data_for_vdb)
|
await relationships_vdb.upsert(data_for_vdb)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue