mirror of
https://github.com/hwchase17/langchain.git
synced 2025-05-15 03:57:19 +00:00
This PR addresses a few minor issues with the Cassandra vector store implementation and extends the store to support Metadata search. Thanks to the latest cassIO library (>=0.1.0), metadata filtering is available in the store. Further, - the "relevance" score is prevented from being flipped in the [0,1] interval, thus ensuring that 1 corresponds to the closest vector (this is related to how the underlying cassIO class returns the cosine difference); - bumped the cassIO package version both in the notebooks and the pyproject.toml; - adjusted the textfile location for the vector-store example after the reshuffling of the Langchain repo dir structure; - added demonstration of metadata filtering in the Cassandra vector store notebook; - better docstring for the Cassandra vector store class; - fixed test flakiness and removed offending out-of-place escape chars from a test module docstring; To my knowledge all relevant tests pass and mypy+black+ruff don't complain. (mypy gives unrelated errors in other modules, which clearly don't depend on the content of this PR). Thank you! Stefano --------- Co-authored-by: Bagatur <baskaryan@gmail.com> |
||
---|---|---|
.. | ||
faiss_index | ||
activeloop_deeplake.ipynb | ||
alibabacloud_opensearch.ipynb | ||
analyticdb.ipynb | ||
annoy.ipynb | ||
atlas.ipynb | ||
awadb.ipynb | ||
azuresearch.ipynb | ||
bageldb.ipynb | ||
cassandra.ipynb | ||
chroma.ipynb | ||
clarifai.ipynb | ||
clickhouse.ipynb | ||
dashvector.ipynb | ||
dingo.ipynb | ||
docarray_hnsw.ipynb | ||
docarray_in_memory.ipynb | ||
elasticsearch.ipynb | ||
epsilla.ipynb | ||
faiss.ipynb | ||
hologres.ipynb | ||
index.mdx | ||
lancedb.ipynb | ||
marqo.ipynb | ||
matchingengine.ipynb | ||
meilisearch.ipynb | ||
milvus.ipynb | ||
mongodb_atlas.ipynb | ||
myscale.ipynb | ||
neo4jvector.ipynb | ||
nucliadb.ipynb | ||
opensearch.ipynb | ||
pgembedding.ipynb | ||
pgvector.ipynb | ||
pinecone.ipynb | ||
qdrant.ipynb | ||
redis.ipynb | ||
rockset.ipynb | ||
scann.ipynb | ||
singlestoredb.ipynb | ||
sklearn.ipynb | ||
sqlitevss.ipynb | ||
starrocks.ipynb | ||
supabase.ipynb | ||
tair.ipynb | ||
tencentvectordb.ipynb | ||
tigris.ipynb | ||
typesense.ipynb | ||
usearch.ipynb | ||
vearch.ipynb | ||
vectara.ipynb | ||
weaviate.ipynb | ||
xata.ipynb | ||
zep.ipynb | ||
zilliz.ipynb |