Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

community: Add support for Upstash Vector #17012

Closed
wants to merge 38 commits into from
Closed
Show file tree
Hide file tree
Changes from 17 commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
2a70916
Add support for Upstash Vector
ytkimirti Feb 2, 2024
8b1a907
Add integration tests
ytkimirti Feb 4, 2024
1e77f54
Add info api
ytkimirti Feb 4, 2024
82e38c5
Add name to indexing.ipynb
ytkimirti Feb 4, 2024
d319370
Merge remote-tracking branch 'upstream/master'
ytkimirti Feb 4, 2024
763c59b
Fix formatting
ytkimirti Feb 4, 2024
f63414d
Fix formatting
ytkimirti Feb 5, 2024
4b7ed74
Add example env vars
ytkimirti Feb 5, 2024
0d42775
Fix iteration
ytkimirti Feb 5, 2024
894d9a1
Add env vars to scheduled tests workflow file
ytkimirti Feb 5, 2024
2e50779
Formatting
ytkimirti Feb 5, 2024
6a8ed63
Remove skip
ytkimirti Feb 5, 2024
6518ae7
Add async implementations of functions
ytkimirti Feb 7, 2024
4d7dfef
Remove upstash keys from yaml file
ytkimirti Feb 8, 2024
4e3da15
Merge branch 'master-up'
ytkimirti Feb 8, 2024
3586def
Fixes, finalize integration tests
ytkimirti Feb 9, 2024
fb2277e
Merge branch 'master-up'
ytkimirti Feb 9, 2024
7d32e02
Remove optional from text_key in constructor
ytkimirti Feb 13, 2024
13bc7f2
Merge branch 'master-up'
ytkimirti Feb 13, 2024
7be8f62
Remove forgotten print
ytkimirti Feb 16, 2024
9d94e98
Add upstash docs notebook
ytkimirti Feb 16, 2024
1226916
Add async version of add_texts
ytkimirti Feb 18, 2024
1d5c172
Small cleanup
ytkimirti Feb 18, 2024
16a73e0
Update docs
ytkimirti Feb 18, 2024
699d24d
Merge branch 'master-up'
ytkimirti Feb 18, 2024
ea654ad
Cleanup
ytkimirti Feb 18, 2024
81ea626
Better description
ytkimirti Feb 18, 2024
9ab3ce3
Fix naming
ytkimirti Feb 18, 2024
2fd9651
Add support for with relevance scores functions
ytkimirti Feb 18, 2024
4dc962a
Add missing ids
ytkimirti Feb 18, 2024
073f754
Improve tests
ytkimirti Feb 18, 2024
1eb0a95
Add integration tests for async methods
ytkimirti Feb 18, 2024
19b441e
Improve formatting for the notebook
ytkimirti Feb 18, 2024
f20aade
Remove output in the notebook
ytkimirti Feb 18, 2024
7a00146
Fix formatting
ytkimirti Feb 18, 2024
8f9a06e
Fix formatting
ytkimirti Feb 18, 2024
f72a3e6
Fix formatting
ytkimirti Feb 20, 2024
660419e
Merge branch 'master-up'
ytkimirti Feb 20, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/docs/modules/data_connection/indexing.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
" * document addition by id (`add_documents` method with `ids` argument)\n",
" * delete by id (`delete` method with `ids` argument)\n",
"\n",
"Compatible Vectorstores: `AnalyticDB`, `AstraDB`, `AwaDB`, `Bagel`, `Cassandra`, `Chroma`, `DashVector`, `DatabricksVectorSearch`, `DeepLake`, `Dingo`, `ElasticVectorSearch`, `ElasticsearchStore`, `FAISS`, `HanaDB`, `Milvus`, `MyScale`, `PGVector`, `Pinecone`, `Qdrant`, `Redis`, `ScaNN`, `SupabaseVectorStore`, `SurrealDBStore`, `TimescaleVector`, `Vald`, `Vearch`, `VespaStore`, `Weaviate`, `ZepVectorStore`.\n",
"Compatible Vectorstores: `AnalyticDB`, `AstraDB`, `AwaDB`, `Bagel`, `Cassandra`, `Chroma`, `DashVector`, `DatabricksVectorSearch`, `DeepLake`, `Dingo`, `ElasticVectorSearch`, `ElasticsearchStore`, `FAISS`, `HanaDB`, `Milvus`, `MyScale`, `PGVector`, `Pinecone`, `Qdrant`, `Redis`, `ScaNN`, `SupabaseVectorStore`, `SurrealDBStore`, `TimescaleVector`, `UpstashVectorStore`, `Vald`, `Vearch`, `VespaStore`, `Weaviate`, `ZepVectorStore`.\n",
" \n",
"## Caution\n",
"\n",
Expand Down
9 changes: 9 additions & 0 deletions libs/community/langchain_community/vectorstores/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -422,6 +422,12 @@ def _import_typesense() -> Any:
return Typesense


def _import_upstash() -> Any:
from langchain_community.vectorstores.upstash import UpstashVectorStore

return UpstashVectorStore


def _import_usearch() -> Any:
from langchain_community.vectorstores.usearch import USearch

Expand Down Expand Up @@ -609,6 +615,8 @@ def __getattr__(name: str) -> Any:
return _import_timescalevector()
elif name == "Typesense":
return _import_typesense()
elif name == "UpstashVectorStore":
return _import_upstash()
elif name == "USearch":
return _import_usearch()
elif name == "Vald":
Expand Down Expand Up @@ -695,6 +703,7 @@ def __getattr__(name: str) -> Any:
"Tigris",
"TimescaleVector",
"Typesense",
"UpstashVectorStore",
"USearch",
"Vald",
"Vearch",
Expand Down
Loading
Loading