You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
just configured a new setup for 0.91.1 and attempted to spin up the containers.
All containers seem to start up without issues but trustgraph-store-doc-embeddings-1
It appears to hit an error with Milvus and use of ChunkEmbeddings.
Traceback (most recent call last):
File "/usr/local/bin/de-write-milvus", line 3, in <module>
from trustgraph.storage.doc_embeddings.milvus import run
File "/usr/local/lib/python3.12/site-packages/trustgraph/storage/doc_embeddings/milvus/init.py", line 2, in <module>
from . write import *
File "/usr/local/lib/python3.12/site-packages/trustgraph/storage/doc_embeddings/milvus/write.py", line 6, in <module>
from .... schema import ChunkEmbeddings
ImportError: cannot import name 'ChunkEmbeddings' from 'trustgraph.schema' (/usr/local/lib/python3.12/site-packages/trustgraph/schema/init.py). Did you mean: 'GraphEmbeddings'?
It appears the references to ChunkEmbeddings were replaced but maybe they didn't get replaced in the doc_embedding code
#235 appears to show some of the code changes impacting this going back to 0.19.0
The text was updated successfully, but these errors were encountered:
File "/usr/local/bin/de-write-qdrant", line 3, in
from trustgraph.storage.doc_embeddings.qdrant import run
File "/usr/local/lib/python3.12/site-packages/trustgraph/storage/doc_embeddings/qdrant/init.py", line 2, in
from . write import *
File "/usr/local/lib/python3.12/site-packages/trustgraph/storage/doc_embeddings/qdrant/write.py", line 11, in
from .... schema import ChunkEmbeddings
ImportError: cannot import name 'ChunkEmbeddings' from 'trustgraph.schema' (/usr/local/lib/python3.12/site-packages/trustgraph/schema/init.py). Did you mean: 'GraphEmbeddings'?
@vbaz I've been informed by @cybermaggedon that the refactoring taking place for 0.19.x included a move to GraphEmbeddings so any of the doc embeddings will fail.
Easiest workaround at this stage is
(ignore as you are using qdrant) Don't use Milvus - this code hasn't been completely refactored as of 0.19.2
Remove any container references to store-doc-embeddings container. This will not run and will just consume resources until it fails 100 restarts.
These two should allow you to get the systems up and running.
just configured a new setup for 0.91.1 and attempted to spin up the containers.
All containers seem to start up without issues but trustgraph-store-doc-embeddings-1
It appears to hit an error with Milvus and use of ChunkEmbeddings.
It appears the references to ChunkEmbeddings were replaced but maybe they didn't get replaced in the doc_embedding code
#235 appears to show some of the code changes impacting this going back to 0.19.0
The text was updated successfully, but these errors were encountered: