mirror of
https://github.com/hwchase17/langchain
synced 2024-11-08 07:10:35 +00:00
cc6191cb90
## Description Adding `UpstashVectorStore` to utilize [Upstash Vector](https://upstash.com/docs/vector/overall/getstarted)! #17012 was opened to add Upstash Vector to langchain but was closed to wait for filtering. Now filtering is added to Upstash vector and we open a new PR. Additionally, [embedding feature](https://upstash.com/docs/vector/features/embeddingmodels) was added and we add this to our vectorstore aswell. ## Dependencies [upstash-vector](https://pypi.org/project/upstash-vector/) should be installed to use `UpstashVectorStore`. Didn't update dependencies because of [this comment in the previous PR](https://github.com/langchain-ai/langchain/pull/17012#pullrequestreview-1876522450). ## Tests Tests are added and they pass. Tests are naturally network bound since Upstash Vector is offered through an API. There was [a discussion in the previous PR about mocking the unittests](https://github.com/langchain-ai/langchain/pull/17012#pullrequestreview-1891820567). We didn't make changes to this end yet. We can update the tests if you can explain how the tests should be mocked. --------- Co-authored-by: ytkimirti <yusuftaha9@gmail.com> Co-authored-by: Bagatur <22008038+baskaryan@users.noreply.github.com> Co-authored-by: Bagatur <baskaryan@gmail.com> |
||
---|---|---|
.. | ||
redis | ||
__init__.py | ||
test_azure_search.py | ||
test_databricks_vector_search.py | ||
test_elasticsearch.py | ||
test_faiss.py | ||
test_hanavector.py | ||
test_imports.py | ||
test_indexing_docs.py | ||
test_inmemory.py | ||
test_neo4j.py | ||
test_pgvector.py | ||
test_public_api.py | ||
test_sklearn.py | ||
test_tencentvectordb.py | ||
test_utils.py |