Skip to content
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

Qdrant: Retrieve an existing collection #729

Closed
miary opened this issue May 13, 2024 · 1 comment
Closed

Qdrant: Retrieve an existing collection #729

miary opened this issue May 13, 2024 · 1 comment

Comments

@miary
Copy link

miary commented May 13, 2024

All examples showing integration of Qdrant with haystack show how to create a new Qdrant index/collection and use that as a DocumentStore.

However, there does not seem to be a way to use an already-created Qdrant collection and use that within a Haystack project.

Please let me know if such a method exists.

@anakin87
Copy link
Member

Sorry for the late response.

Since we want to provide a consistent user experience with different databases, in general our integrations are a bit opinionated.

To be used in Haystack, the points of your Qdrant collection must be convertible by this method

In short, apart from the vector (which is mapped to embedding), the attributes should reflect those of the Document dataclass.

If your collection is different, you might consider creating a migration script.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants