Fix Milvus DataNotMatchException lint-and-format

This commit is contained in:
xuewei 2025-07-16 22:07:39 +08:00
parent e0bb6093b0
commit 77a42a37ca

View File

@ -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']}",
"source_id": edge_data["source_id"],
"file_path": edge_data.get("file_path", "unknown_source"),
"weight": 0
"weight": 0,
}
}
await relationships_vdb.upsert(data_for_vdb)