Closed seanmavley closed 4 months ago
@seanmavley
As it stands now, there isn't a way to create an empty collection in Qdrant.
Try this:
qdrant = Qdrant.construct_instance(["fake"], embeddings, collection_name="testing_v1", url="http://0.0.0.0:6333")
Checked other resources
Example Code
Error Message and Stack Trace (if applicable)
Description
I'm following the tutorial here trying to use Qdrant as the vectorstore
https://python.langchain.com/docs/modules/data_connection/indexing
According to the docs:
If preferably it should work with a brand new collection from start, then the chances of such a collection not existing will be true, at which point I'd expect the index to have something similar to the
force_create
in theQdrant.from_documents(...)
function to create the collection if it doesn't exist, before proceeding. That way the index db and collection all have the same start.As it stands now, there isn't a way to create an empty collection in Qdrant.
System Info
System Information
Package Information