Closed bilgeyucel closed 1 year ago
Some more info. Here's how they initialize the document store:
document_store = QdrantDocumentStore(
location=":memory:",
index="Document",
embedding_dim=768,
recreate_index=True,
similarity="cosine"
)
Some more context from our community member:
I have a suspicion what the problem is https://github.com/qdrant/qdrant-client released four days ago 1.5.0 and now you have to initialize Qdrant like this:
client = QdrantClient(":memory:")
client.add(
collection_name="demo_collection",
documents=docs,
metadata=metadata,
ids=ids
)
But QdrantDocumentStore initialises it with more parameters. So the versions do not fit anymore
Hey @TuanaCelik @bilgeyucel @MathiasSpanhove
Thanks for pointing it out
It seems that metadata argument was not passed correctly into the QdrantClient
Thank you @joein - I see there's a PR here which seems like will resolve this issue. Let us know if we have to inform people to update one of the packages 🙏
@TuanaCelik I'm already reviewing the PR and the new version will be released today. I'll let you know here and also answer on Discord.
@bilgeyucel @TuanaCelik We've just released version 1.0.8
. This is a hotfix that allows using qdrant up to 1.4
. There will be another release this week so that we can support Qdrant 1.5 as well. That requires fixing qdrant-client
first.
The latest release, 1.0.10
, allows using some newer versions of the qdrant-client
.
A community member reported an issue about
QdrantDocumentStore
. It raises a type error when initialized for some reason. I could reproduce the issue but don't have a clear idea of what is wrong. Can you guide us here @kacperlukawski?Here's the discord thread: https://discord.com/channels/993534733298450452/1149609255062737028 Here's a colab notebook to reproduce the issue