qdrant / qdrant-haystack

An integration of Qdrant ANN vector database backend with Haystack
Apache License 2.0
42 stars 11 forks source link

fix: Loading DocumentStore in Haystack Pipeline YAML #13

Closed oryx1729 closed 1 year ago

oryx1729 commented 1 year ago

The current implementation of loading pipelines using YAML does not support variadic parameters such as *args or **kwargs in the __init__ function of components.

This PR addresses this limitation by replacing **kwargs with a new parameter, client_kwargs, which is passed to the QdrantClient instance.