Skip to content

Commit

Permalink
deprecate langchain_community implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
Jibola committed Feb 20, 2024
1 parent ba82b0f commit 0921e47
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
from langchain_core.documents import Document
from langchain_core.embeddings import Embeddings
from langchain_core.vectorstores import VectorStore
from langchain_core._api.deprecation import deprecated

from langchain_community.vectorstores.utils import maximal_marginal_relevance

Expand All @@ -32,6 +33,11 @@
DEFAULT_INSERT_BATCH_SIZE = 100


@deprecated(
since="0.1.8",
removal="0.2.0",
alternative_import="langchain_mongodb_atlas.MongoDBAtlasVectorSearch",
)
class MongoDBAtlasVectorSearch(VectorStore):
"""`MongoDB Atlas Vector Search` vector store.
Expand Down

0 comments on commit 0921e47

Please sign in to comment.