mirror of
https://github.com/hwchase17/langchain.git
synced 2025-06-24 15:43:54 +00:00
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:
parent
07f23c2d45
commit
04d134df17
@ -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.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user