mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-07-22 11:41:02 +02:00
Tryna get knowledge core to load
This commit is contained in:
parent
03d59b62af
commit
dddf47d161
5 changed files with 33 additions and 24 deletions
|
|
@ -3,11 +3,10 @@ import asyncio
|
|||
import uuid
|
||||
from aiohttp import WSMsgType
|
||||
|
||||
from .. schema import Metadata
|
||||
from .. schema import DocumentEmbeddings, ChunkEmbeddings
|
||||
from .. base import Publisher
|
||||
from ... schema import Metadata
|
||||
from ... schema import DocumentEmbeddings, ChunkEmbeddings
|
||||
from ... base import Publisher
|
||||
|
||||
from . socket import SocketEndpoint
|
||||
from . serialize import to_subgraph
|
||||
|
||||
class DocumentEmbeddingsImport:
|
||||
|
|
@ -20,7 +19,7 @@ class DocumentEmbeddingsImport:
|
|||
self.running = running
|
||||
|
||||
self.publisher = Publisher(
|
||||
pulsar_client, queue = queue, schema = DocumentEmbeddings
|
||||
pulsar_client, topic = queue, schema = DocumentEmbeddings
|
||||
)
|
||||
|
||||
async def destroy(self):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue