mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-07-22 03:31:02 +02:00
Tweaking
This commit is contained in:
parent
8d082aed87
commit
42ea9ed370
3 changed files with 5 additions and 4 deletions
|
|
@ -58,12 +58,10 @@ class Processor(FlowProcessor):
|
|||
|
||||
for entity in v.entities:
|
||||
|
||||
resp = await flow("embeddings-request").embed(
|
||||
vectors = await flow("embeddings-request").embed(
|
||||
text = entity.context
|
||||
)
|
||||
|
||||
vectors = resp.vectors
|
||||
|
||||
entities.append(
|
||||
EntityEmbeddings(
|
||||
entity=entity.entity,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue