From cef79ca579cbe166a7dabc3906501b4ea231ed99 Mon Sep 17 00:00:00 2001 From: Mark Marryatt <78297942+mjmammoth@users.noreply.github.com> Date: Thu, 8 Jun 2023 04:45:33 +0200 Subject: [PATCH] Fix exporting GCP Vertex Matching Engine from vectorstores (#5793) The Vertex Matching Engine docs include [the line](https://github.com/hwchase17/langchain/blob/b177a29d3f942eeccf85814f0f628c32509b9b6a/docs/modules/indexes/vectorstores/examples/matchingengine.ipynb?short_path=54ebfde#L32) `from langchain.vectorstores import MatchingEngine` which doesn't work as it wasn't added to the vectorestores module exports. - @dev2049 --- langchain/vectorstores/__init__.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/langchain/vectorstores/__init__.py b/langchain/vectorstores/__init__.py index eed490e4..7ba8f73c 100644 --- a/langchain/vectorstores/__init__.py +++ b/langchain/vectorstores/__init__.py @@ -10,6 +10,7 @@ from langchain.vectorstores.docarray import DocArrayHnswSearch, DocArrayInMemory from langchain.vectorstores.elastic_vector_search import ElasticVectorSearch from langchain.vectorstores.faiss import FAISS from langchain.vectorstores.lancedb import LanceDB +from langchain.vectorstores.matching_engine import MatchingEngine from langchain.vectorstores.milvus import Milvus from langchain.vectorstores.mongodb_atlas import MongoDBAtlasVectorSearch from langchain.vectorstores.myscale import MyScale, MyScaleSettings @@ -56,4 +57,5 @@ __all__ = [ "Clickhouse", "ClickhouseSettings", "Tigris", + "MatchingEngine", ]