Hey guys, wondering if any of ya'll have fixed this error. I keep getting the following when trying to set up and use an auto index retriever:
b'{"status":{"error":"Wrong input: Vector params for are not specified in config"},"time":0.000074995}'
I've tried both adding the
dense_config
to QdrantVectorStore() as well as adding
embed_model
to VectorStoreIndex() but neither have worked to resolve the issue. I also tried what was suggested above (
https://discord.com/channels/1059199217496772688/1059200010622873741/1233183387884191774 - upgrading the python library) but that didn't work either. Here's the code for reference:
_SS_VECTOR_STORE = QdrantVectorStore(client=_QDRANT_CLIENT, collection_name="STAGE", dense_config=models.VectorParams(size=384, distance=models.Distance.COSINE))
_SS_STORAGE_CONTEXT = StorageContext.from_defaults(vector_store=_SS_VECTOR_STORE)
_SS_RECURSIVE_INDEX = VectorStoreIndex.from_vector_store(vector_store=_SS_VECTOR_STORE, storage_context=_SS_STORAGE_CONTEXT, embed_model=FastEmbedEmbedding(model_name="sentence-transformers/all-MiniLM-L6-v2"))
_RETRIEVER = VectorIndexAutoRetriever(
_SS_RECURSIVE_INDEX, vector_store_info=_VECTOR_STORE_INFO, similarity_top_k=20
)