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
The latest pgvector version supports sparsevec.
However, langchain's PGVector supports only one embeddings column in langchain_pg_embedding table.
It would be great to have a sparse_embedding column and sparse_embedding field in PGVector.
I have considered the alternative and that is to have 2 PGVector stores, 1 for dense and 1 for sparse vectors. However there are 2 problems with that:
PGVector has hardcoded table names for collection and embeddings
I would like to leverage excellent langchain indexer with SQL manager.
The text was updated successfully, but these errors were encountered:
hi, I could really do with this feature. I have made a very crude PR that suggests how this might be done, I would appreciate some help as I do not know this codebase well :) #204
The latest pgvector version supports
sparsevec
.However, langchain's PGVector supports only one embeddings column in
langchain_pg_embedding
table.It would be great to have a
sparse_embedding
column andsparse_embedding
field in PGVector.I have considered the alternative and that is to have 2 PGVector stores, 1 for dense and 1 for sparse vectors. However there are 2 problems with that:
The text was updated successfully, but these errors were encountered: