Skip to content

The agent engineering platform.

Fixes #8310 Fix maximum recursion depth exceeded error (#8313)

Bharat04a4d3e31287
diff --git a/libs/langchain/langchain/vectorstores/elastic_vector_search.py b/libs/langchain/langchain/vectorstores/elastic_vector_search.py
index 6de04aff82..9e67cb1164 100644
--- a/libs/langchain/langchain/vectorstores/elastic_vector_search.py
+++ b/libs/langchain/langchain/vectorstores/elastic_vector_search.py
@@ -155,7 +155,7 @@ class ElasticVectorSearch(VectorStore, ABC):
@property
def embeddings(self) -> Embeddings:
- return self.embeddings
+ return self.embedding
def add_texts(
self,