Find answers from the community

Home
Members
Chebychev
C
Chebychev
Offline, last seen 3 months ago
Joined September 25, 2024
I'm persisting to Weaviate using WeaviateVectorStore, and it seems to store all the text as well as the embeddings in the database. Is there a way to load everything from Weaviate for searching? Right now I'm able to load the vector_store from Weaviate but it's also saving docstore/index_store to disk. So it's using a mix of Weaviate and persist dir for storage:
Plain Text
vector_store = WeaviateVectorStore(weaviate_client=client, class_prefix=class_prefix)
storage_context = StorageContext.from_defaults(vector_store=vector_store, persist_dir='./storage/index')
index = load_index_from_storage(storage_context)

I haven't found a way for it to work without the persist_dir.
2 comments
C
L