-
Notifications
You must be signed in to change notification settings - Fork 126
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Save and load local QdrantDocumentstore #279
Comments
Hey! I tried to replicate your example and was able to successfully reload the document_store = QdrantDocumentStore(
path="~/mydatabase/Haystack/db",
index="Document",
embedding_dim=768,
) In your case, I would not directly use I'm closing this issue. Feel free to reopen it if you still encounter problems. |
Hey! Thanks for your reply. I tried your suggestion but it return below error:
|
Can you report all the code you used? |
My complete code is:
|
In this new example, you are using Qdrant with Haystack 1.x. Please try changing To understand why, you can look at the 1.x Document Store API Reference. |
Hi! Thank you. It is the correct answer. |
I created a QdrantDocumentStore using below code and save database in local directory.
But when I want to use created local database in other project it return
ValueError: document_store must be an instance of QdrantDocumentStore
.I load saved QdrantDocumentStore using:
How can I load it correctly?
The text was updated successfully, but these errors were encountered: