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
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Checked
Feature request
Propose a common way to specify if a vector db is made to contain Dense or Sparse vector (or both, depending on implementation).
Propose a list of Sparse embedding solution to be used in Sparse vector db : BM25, TFIDF, SPLADE ...
Motivation
Using a mix of dense and sparse vector is becoming a a must to achieve better RAG, and Langchain is lacking of a common approach to achieve this.
Multiple vector db are implementing Dense and Sparse vector in their own way
https://python.langchain.com/v0.2/docs/integrations/retrievers/milvus_hybrid_search/
https://python.langchain.com/docs/integrations/retrievers/qdrant-sparse/
And more are compatible but not implemented yet in Langchain: PGvector, Google Vertex Search ...
Proposal (If applicable)
A Hybrid Search workflow would be:
Beta Was this translation helpful? Give feedback.
All reactions