mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-07-17 09:11:03 +02:00
Fix GE load
This commit is contained in:
parent
f0c86a58cb
commit
9225ff7c79
3 changed files with 22 additions and 7 deletions
|
|
@ -57,8 +57,13 @@ async def fetch_ge(running, queue, user, collection, url):
|
|||
"u": data["metadata"]["user"],
|
||||
"c": data["metadata"]["collection"],
|
||||
},
|
||||
"v": data["vectors"],
|
||||
"e": data["entity"],
|
||||
"e": [
|
||||
{
|
||||
"e": ent["entity"],
|
||||
"v": ent["vectors"],
|
||||
}
|
||||
for ent in data["entities"]
|
||||
]
|
||||
}
|
||||
])
|
||||
if msg.type == aiohttp.WSMsgType.ERROR:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue