Skip to content

Commit

Permalink
CrateDB: Vector Store
Browse files Browse the repository at this point in the history
  • Loading branch information
amotl committed Oct 29, 2024
1 parent 94e5765 commit d13f281
Show file tree
Hide file tree
Showing 11 changed files with 1,365 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/docs/how_to/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: `Aerospike`, `AnalyticDB`, `AstraDB`, `AwaDB`, `AzureCosmosDBNoSqlVectorSearch`, `AzureCosmosDBVectorSearch`, `Bagel`, `Cassandra`, `Chroma`, `CouchbaseVectorStore`, `DashVector`, `DatabricksVectorSearch`, `DeepLake`, `Dingo`, `ElasticVectorSearch`, `ElasticsearchStore`, `FAISS`, `HanaDB`, `Milvus`, `MongoDBAtlasVectorSearch`, `MyScale`, `OpenSearchVectorSearch`, `PGVector`, `Pinecone`, `Qdrant`, `Redis`, `Rockset`, `ScaNN`, `SingleStoreDB`, `SupabaseVectorStore`, `SurrealDBStore`, `TimescaleVector`, `Vald`, `VDMS`, `Vearch`, `VespaStore`, `Weaviate`, `Yellowbrick`, `ZepVectorStore`, `TencentVectorDB`, `OpenSearchVectorSearch`.\n",
"Compatible Vectorstores: `Aerospike`, `AnalyticDB`, `AstraDB`, `AwaDB`, `AzureCosmosDBNoSqlVectorSearch`, `AzureCosmosDBVectorSearch`, `Bagel`, `Cassandra`, `Chroma`, `CouchbaseVectorStore`, `CrateDBVectorSearch`, `DashVector`, `DatabricksVectorSearch`, `DeepLake`, `Dingo`, `ElasticVectorSearch`, `ElasticsearchStore`, `FAISS`, `HanaDB`, `Milvus`, `MongoDBAtlasVectorSearch`, `MyScale`, `OpenSearchVectorSearch`, `PGVector`, `Pinecone`, `Qdrant`, `Redis`, `Rockset`, `ScaNN`, `SingleStoreDB`, `SupabaseVectorStore`, `SurrealDBStore`, `TimescaleVector`, `Vald`, `VDMS`, `Vearch`, `VespaStore`, `Weaviate`, `Yellowbrick`, `ZepVectorStore`, `TencentVectorDB`, `OpenSearchVectorSearch`.\n",
" \n",
"## Caution\n",
"\n",
Expand Down
2 changes: 2 additions & 0 deletions libs/community/extended_testing_deps.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ chardet>=5.1.0,<6
cloudpathlib>=0.18,<0.19
cloudpickle>=2.0.0
cohere>=4,<6
crate==1.0.0.dev1
databricks-vectorsearch>=0.21,<0.22
datasets>=2.15.0,<3
dgml-utils>=0.3.0,<0.4
Expand Down Expand Up @@ -76,6 +77,7 @@ requests-toolbelt>=1.0.0,<2
rspace_client>=2.5.0,<3
scikit-learn>=1.2.2,<2
simsimd>=5.0.0,<6
sqlalchemy-cratedb>=0.40.0,<1
sqlite-vss>=0.1.2,<0.2
sqlite-vec>=0.1.0,<0.2
sseclient-py>=1.8.0,<2
Expand Down
5 changes: 5 additions & 0 deletions libs/community/langchain_community/vectorstores/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,9 @@
from langchain_community.vectorstores.couchbase import (
CouchbaseVectorStore,
)
from langchain_community.vectorstores.cratedb import (
CrateDBVectorSearch,
)
from langchain_community.vectorstores.dashvector import (
DashVector,
)
Expand Down Expand Up @@ -334,6 +337,7 @@
"Clickhouse",
"ClickhouseSettings",
"CouchbaseVectorStore",
"CrateDBVectorSearch",
"DashVector",
"DatabricksVectorSearch",
"DeepLake",
Expand Down Expand Up @@ -438,6 +442,7 @@
"Clickhouse": "langchain_community.vectorstores.clickhouse",
"ClickhouseSettings": "langchain_community.vectorstores.clickhouse",
"CouchbaseVectorStore": "langchain_community.vectorstores.couchbase",
"CrateDBVectorSearch": "langchain_community.vectorstores.cratedb",
"DashVector": "langchain_community.vectorstores.dashvector",
"DatabricksVectorSearch": "langchain_community.vectorstores.databricks_vector_search", # noqa: E501
"DeepLake": "langchain_community.vectorstores.deeplake",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
from .base import CrateDBVectorSearch
from .extended import CrateDBVectorSearchMultiCollection

__all__ = [
"CrateDBVectorSearch",
"CrateDBVectorSearchMultiCollection",
]
Loading

0 comments on commit d13f281

Please sign in to comment.