mirror of
https://github.com/hwchase17/langchain.git
synced 2025-08-11 05:45:01 +00:00
community: deprecate AzureCosmosDBNoSqlVectorSearch in favor of langchain-azure-ai implementation (#30756)
This commit is contained in:
parent
4cc7bc6c93
commit
63c16f5ca8
@ -6,6 +6,7 @@ from enum import Enum
|
|||||||
from typing import TYPE_CHECKING, Any, Dict, Iterable, List, Optional, Tuple
|
from typing import TYPE_CHECKING, Any, Dict, Iterable, List, Optional, Tuple
|
||||||
|
|
||||||
import numpy as np
|
import numpy as np
|
||||||
|
from langchain_core._api import deprecated
|
||||||
from langchain_core.documents import Document
|
from langchain_core.documents import Document
|
||||||
from langchain_core.embeddings import Embeddings
|
from langchain_core.embeddings import Embeddings
|
||||||
from langchain_core.vectorstores import VectorStore
|
from langchain_core.vectorstores import VectorStore
|
||||||
@ -40,6 +41,11 @@ class CosmosDBQueryType(str, Enum):
|
|||||||
HYBRID = "hybrid"
|
HYBRID = "hybrid"
|
||||||
|
|
||||||
|
|
||||||
|
@deprecated(
|
||||||
|
since="0.3.22",
|
||||||
|
removal="1.0",
|
||||||
|
alternative_import="langchain_azure_ai.vectorstores.AzureCosmosDBNoSqlVectorSearch",
|
||||||
|
)
|
||||||
class AzureCosmosDBNoSqlVectorSearch(VectorStore):
|
class AzureCosmosDBNoSqlVectorSearch(VectorStore):
|
||||||
"""`Azure Cosmos DB for NoSQL` vector store.
|
"""`Azure Cosmos DB for NoSQL` vector store.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user