Find answers from the community

Updated 6 months ago

Type

At a glance

The community member is trying to integrate their application using llamaindex with a Qdrant vector store, but is having issues when trying to pass the QdrantVectorStore object as the vector_store argument to the VectorStoreIndex.from_vector_store() function. The issue is that the QdrantVectorStore is not considered a VectorStore object, but instead a BasePydanticVectorStore, and they are not compatible. The community member is asking how to create an index from an existing QdrantVectorStore and if there is another way to do it.

In the comments, another community member states that this is just a "silly typing thing" and that VectoStore and BasePydanticVectorStore are the same object, so it's fine.

Hey everyone, im trying to integrate our application using llamaindex with a Qdrant vector store. In uploading documents, im having some issues. The main problem is when i try to pass the QdrantVectorStore object as the vector_store argument to the VectorStoreIndex.from_vector_store() function, the QdrantVectorStore is not considers a VectorStore object, but is instead a BasePydanticVectorStore. It doesnt seem theyre compatible. You cannot cast a QdrantVectorStore to a VectorStore or vice versa. So how are we to create an index from an existing QdrantVectorStore? is there another way to do it? This is the code im using. Any ideas?
L
2 comments
This is just a silly typing thing -- VectoStore and BasePydanticVectorStore are the same object
Add a reply
Sign up and join the conversation on Discord