trustgraph icon indicating copy to clipboard operation
trustgraph copied to clipboard

ChunkEmbeddings still referenced in 0.19.0-0.19.2 resulting in failure to start embedding container

Open toliver38 opened this issue 10 months ago • 3 comments
trafficstars

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

toliver38 avatar Jan 02 '25 14:01 toliver38