mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-07-06 11:52:10 +02:00
Fix more naming problems
This commit is contained in:
parent
9a62413d49
commit
3f6d2d879a
2 changed files with 3 additions and 3 deletions
|
|
@ -87,7 +87,7 @@ class Processor(ConsumerProducer):
|
||||||
|
|
||||||
def emit_vec(self, ent, vec):
|
def emit_vec(self, ent, vec):
|
||||||
|
|
||||||
r = VectorsAssociation(entity=ent, vectors=vec)
|
r = GraphEmbeddings(entity=ent, vectors=vec)
|
||||||
self.vec_prod.send(r)
|
self.vec_prod.send(r)
|
||||||
|
|
||||||
def handle(self, msg):
|
def handle(self, msg):
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
Accepts entity/vector pairs and writes them to a Milvus store.
|
Accepts entity/vector pairs and writes them to a Milvus store.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
from .... schema import VectorsAssociation
|
from .... schema import GraphEmbeddings
|
||||||
from .... schema import graph_embeddings_store_queue
|
from .... schema import graph_embeddings_store_queue
|
||||||
from .... log_level import LogLevel
|
from .... log_level import LogLevel
|
||||||
from .... triple_vectors import TripleVectors
|
from .... triple_vectors import TripleVectors
|
||||||
|
|
@ -27,7 +27,7 @@ class Processor(Consumer):
|
||||||
**params | {
|
**params | {
|
||||||
"input_queue": input_queue,
|
"input_queue": input_queue,
|
||||||
"subscriber": subscriber,
|
"subscriber": subscriber,
|
||||||
"input_schema": VectorsAssociation,
|
"input_schema": GraphEmbeddings,
|
||||||
"store_uri": store_uri,
|
"store_uri": store_uri,
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue