The agent engineering platform.
Python agentsaiai-agentsanthropicchatgptdeepagentsenterpriseframeworkgeminigenerative-ailangchainlanggraphllmmultiagentopen-sourceopenaipydanticpythonragtypescript
small fix matching engine AttributeError - object has no attribute (#13763)
Johnny6463d2d0bdb8
diff --git a/libs/langchain/langchain/vectorstores/matching_engine.py b/libs/langchain/langchain/vectorstores/matching_engine.pyindex a480580a76..39f27094f1 100644--- a/libs/langchain/langchain/vectorstores/matching_engine.py+++ b/libs/langchain/langchain/vectorstores/matching_engine.py@@ -233,7 +233,9 @@ class MatchingEngine(VectorStore):filter = filter or []# If the endpoint is public we use the find_neighbors function.- if self.endpoint._public_match_client:+ if hasattr(self.endpoint, "_public_match_client") and (+ self.endpoint._public_match_client+ ):response = self.endpoint.find_neighbors(deployed_index_id=self._get_index_id(),queries=[embedding],