mirror of
https://github.com/hwchase17/langchain
synced 2024-11-04 06:00:26 +00:00
ElasticsearchVectorStore.as_retriever() method is returning `RecursionError: maximum recursion depth exceeded` because of incorrect field reference in `embeddings()` method - Description: Fix RecursionError because of a typo - Issue: the issue #8310 - Dependencies: None, - Tag maintainer: @eyurtsev - Twitter handle: bpatel
This commit is contained in:
parent
b9db3dd09b
commit
04a4d3e312
@ -155,7 +155,7 @@ class ElasticVectorSearch(VectorStore, ABC):
|
||||
|
||||
@property
|
||||
def embeddings(self) -> Embeddings:
|
||||
return self.embeddings
|
||||
return self.embedding
|
||||
|
||||
def add_texts(
|
||||
self,
|
||||
|
Loading…
Reference in New Issue
Block a user