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
This commit is contained in:
Leonid Kuligin 2024-03-05 18:34:53 +01:00 committed by GitHub
parent 07f23c2d45
commit 04d134df17
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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.