Skip to content

Commit 63c16f5

Browse files
authored
community: deprecate AzureCosmosDBNoSqlVectorSearch in favor of langchain-azure-ai implementation (#30756)
1 parent 4cc7bc6 commit 63c16f5

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

libs/community/langchain_community/vectorstores/azure_cosmos_db_no_sql.py

+6
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
from typing import TYPE_CHECKING, Any, Dict, Iterable, List, Optional, Tuple
77

88
import numpy as np
9+
from langchain_core._api import deprecated
910
from langchain_core.documents import Document
1011
from langchain_core.embeddings import Embeddings
1112
from langchain_core.vectorstores import VectorStore
@@ -40,6 +41,11 @@ class CosmosDBQueryType(str, Enum):
4041
HYBRID = "hybrid"
4142

4243

44+
@deprecated(
45+
since="0.3.22",
46+
removal="1.0",
47+
alternative_import="langchain_azure_ai.vectorstores.AzureCosmosDBNoSqlVectorSearch",
48+
)
4349
class AzureCosmosDBNoSqlVectorSearch(VectorStore):
4450
"""`Azure Cosmos DB for NoSQL` vector store.
4551

0 commit comments

Comments
 (0)