From 04d134df1745333d43d8c788b7bd36573b02b13c Mon Sep 17 00:00:00 2001 From: Leonid Kuligin Date: Tue, 5 Mar 2024 18:34:53 +0100 Subject: [PATCH] marked MatchingEngine as deprecated (#18585) Thank you for contributing to LangChain! - [ ] **PR title**: "community: deprecate vectorstores.MatchingEngine" - [ ] **PR message**: - **Description:** announced a deprecation since this integration has been moved to langchain_google_vertexai --- .../langchain_community/vectorstores/matching_engine.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/libs/community/langchain_community/vectorstores/matching_engine.py b/libs/community/langchain_community/vectorstores/matching_engine.py index ae77aa5ad22..9cae484009c 100644 --- a/libs/community/langchain_community/vectorstores/matching_engine.py +++ b/libs/community/langchain_community/vectorstores/matching_engine.py @@ -6,6 +6,7 @@ import time import uuid from typing import TYPE_CHECKING, Any, Iterable, List, Optional, Tuple, Type +from langchain_core._api.deprecation import deprecated from langchain_core.documents import Document from langchain_core.embeddings import Embeddings from langchain_core.vectorstores import VectorStore @@ -25,6 +26,11 @@ if TYPE_CHECKING: logger = logging.getLogger(__name__) +@deprecated( + since="0.0.12", + removal="0.2.0", + alternative_import="langchain_google_vertexai.VectorSearchVectorStore", +) class MatchingEngine(VectorStore): """`Google Vertex AI Vector Search` (previously Matching Engine) vector store.