You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
In Qdrant it is possible to make a group_by search (https://qdrant.tech/documentation/concepts/search/#search-groups)
This means that instead of search a collections of documents, we can limit and say for each documents, retrieve a maximum of X chunks, which can be very usefull for more diverse retrieving in the case of RAG.
This question is more generally, about the possibility of passing a custom query kwargs to the Qdrant retriever/query API through Haystack.
Describe the solution you'd like
Maybe add a qdrant_query_kwargs to the Qdrant Retriever to pass specific parameters to the query method of Qdrant ?
Describe alternatives you've considered
Implementing a new query/run method inheriting from base HybridRetriever to change the behaviour of the component.
Additional context @Anush008 might have insight on this
The text was updated successfully, but these errors were encountered:
Idea: maybe it could be cool to have a way to write our own queries instead of relying on the way they are implemented in the document store (_query_by_embedding, _query_hybrid, _query_by_sparse...
I guess right now to do this you need to Inherit from documentstore, to add your custom query method and then create a new retriever that use it.
This could allow to use the powerfull Query feature of Qdrant more reasily from Haystack.
Is your feature request related to a problem? Please describe.
In Qdrant it is possible to make a group_by search (https://qdrant.tech/documentation/concepts/search/#search-groups)
This means that instead of search a collections of documents, we can limit and say for each documents, retrieve a maximum of X chunks, which can be very usefull for more diverse retrieving in the case of RAG.
This question is more generally, about the possibility of passing a custom query kwargs to the Qdrant retriever/query API through Haystack.
Describe the solution you'd like
Maybe add a
qdrant_query_kwargs
to the Qdrant Retriever to pass specific parameters to thequery
method of Qdrant ?Describe alternatives you've considered
Implementing a new query/run method inheriting from base HybridRetriever to change the behaviour of the component.
Additional context
@Anush008 might have insight on this
The text was updated successfully, but these errors were encountered: