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

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
pull/8275/head^2
Bharat 1 year ago committed by GitHub
parent b9db3dd09b
commit 04a4d3e312
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -155,7 +155,7 @@ class ElasticVectorSearch(VectorStore, ABC):
@property
def embeddings(self) -> Embeddings:
return self.embeddings
return self.embedding
def add_texts(
self,

Loading…
Cancel
Save