The agent engineering platform.
Python agentsaiai-agentsanthropicchatgptdeepagentsenterpriseframeworkgeminigenerative-ailangchainlanggraphllmmultiagentopen-sourceopenaipydanticpythonragtypescript
community: deprecate AzureCosmosDBNoSqlVectorSearch in favor of langchain-azure-ai implementation (#30756)
ccurme63c16f5ca8e9
diff --git a/libs/community/langchain_community/vectorstores/azure_cosmos_db_no_sql.py b/libs/community/langchain_community/vectorstores/azure_cosmos_db_no_sql.pyindex c75f4fcbb2..f0c2a0a0d1 100644--- a/libs/community/langchain_community/vectorstores/azure_cosmos_db_no_sql.py+++ b/libs/community/langchain_community/vectorstores/azure_cosmos_db_no_sql.py@@ -6,6 +6,7 @@ from enum import Enumfrom typing import TYPE_CHECKING, Any, Dict, Iterable, List, Optional, Tupleimport numpy as np+from langchain_core._api import deprecatedfrom langchain_core.documents import Documentfrom langchain_core.embeddings import Embeddingsfrom langchain_core.vectorstores import VectorStore@@ -40,6 +41,11 @@ class CosmosDBQueryType(str, Enum):HYBRID = "hybrid"+@deprecated(+ since="0.3.22",+ removal="1.0",+ alternative_import="langchain_azure_ai.vectorstores.AzureCosmosDBNoSqlVectorSearch",+)class AzureCosmosDBNoSqlVectorSearch(VectorStore):"""`Azure Cosmos DB for NoSQL` vector store.