Is there a way to create a
VectorStore
that can query a collection/index in a vector DB that is already populated with data which was not ingested via LlamaIndex?
For example, something like this:
vector_store = WeaviateVectorStore(weaviate_client = client, index_name="test", text_key="source_text")
# setting up the storage for the embeddings
storage_context = StorageContext.from_defaults(vector_store = vector_store)
# set up the index
index = VectorStoreIndex([], storage_context = storage_context)
but this tries to create the index for me under the hood. What I want is to point at an already existing index called "test" which is already full of vectors and query against it using a query engine or a retriever.
if i do something like this
vector_store.index_name = "Test"
it will point at my index but it won't return any results. I suspect this is because its tracking the nodes and I initialized the VectorStoreIndex without any nodes.
Any help would be greatly appreciated!