langchain/libs/community/tests/unit_tests/vectorstores
Cahid Arda Öz cc6191cb90
community[minor]: Add support for Upstash Vector (#20824)
## 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>
2024-04-29 17:25:01 -04:00
..
redis community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 2023-12-11 13:53:30 -08:00
__init__.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 2023-12-11 13:53:30 -08:00
test_azure_search.py community[patch]: Add initial tests for AzureSearch vector store (#17663) 2024-04-25 20:42:01 +00:00
test_databricks_vector_search.py patch: deprecate (a)get_relevant_documents (#20477) 2024-04-22 11:14:53 -04:00
test_elasticsearch.py community[patch]: ElasticsearchStore: add relevance function selector (#16378) 2024-01-22 11:52:20 -07:00
test_faiss.py community[major]: breaking change in some APIs to force users to opt-in for pickling (#18696) 2024-03-06 16:43:01 -05:00
test_hanavector.py community[minor]: VectorStore integration for SAP HANA Cloud Vector Engine (#16514) 2024-01-24 14:05:07 -08:00
test_imports.py community[minor]: Add support for Upstash Vector (#20824) 2024-04-29 17:25:01 -04:00
test_indexing_docs.py community[minor]: Add support for Upstash Vector (#20824) 2024-04-29 17:25:01 -04:00
test_inmemory.py community[minor]: Add InMemoryVectorStore (#19326) 2024-03-20 10:21:07 -04:00
test_neo4j.py community[patch]: Add the ability to pass maps to neo4j retrieval query (#19758) 2024-03-29 08:33:48 -07:00
test_pgvector.py refactor: enable connection pool usage in PGVector (#11514) 2023-12-28 15:07:16 -08:00
test_public_api.py community[minor]: Add support for Upstash Vector (#20824) 2024-04-29 17:25:01 -04:00
test_sklearn.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 2023-12-11 13:53:30 -08:00
test_tencentvectordb.py community[patch], langchain[minor]: Enhance Tencent Cloud VectorDB, langchain: make Tencent Cloud VectorDB self query retrieve compatible (#19651) 2024-04-09 16:50:48 +00:00
test_utils.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 2023-12-11 13:53:30 -08:00