Skip to content

Issue with Qdrant Vector Store #8141

Answered by dosubot bot
hodgesz asked this question in Q&A
Discussion options

You must be logged in to vote

🤖

Hello,

The error you're encountering is likely due to trying to access the 'stores_text' attribute from a 'Qdrant' object, while this attribute is actually defined in the 'QdrantVectorStore' class.

In your code, you're creating an instance of 'QdrantVectorStore' and passing it to the 'from_vector_store' method of 'VectorStoreIndex'. However, the error message suggests that the 'from_vector_store' method is trying to access the 'stores_text' attribute from a 'Qdrant' object, not from a 'QdrantVectorStore' object.

Here's the correct flow:

from llama_index import SimpleDirectoryReader
from llama_index import VectorStoreIndex

documents = SimpleDirectoryReader('test_library', recursive=True).

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by hodgesz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant