Fixes issue-14295: Correctly pass along the kwargs (#14296)

- **Description:** Update code to correctly pass the kwargs 
  - **Issue:** #14295 
  - **Dependencies:**  - 
  - **Tag maintainer:** 

<--
If no one reviews your PR within a few days, please @-mention one of
@baskaryan, @eyurtsev, @hwchase17.
 -->

#issue-14295
This commit is contained in:
Tim Van Wassenhove 2023-12-06 02:14:00 +01:00 committed by GitHub
parent 62b59048de
commit 85b88c33f3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -414,7 +414,7 @@ class OpenSearchVectorSearch(VectorStore):
metadatas=metadatas,
ids=ids,
bulk_size=bulk_size,
kwargs=kwargs,
**kwargs,
)
def add_embeddings(
@ -451,7 +451,7 @@ class OpenSearchVectorSearch(VectorStore):
metadatas=metadatas,
ids=ids,
bulk_size=bulk_size,
kwargs=kwargs,
**kwargs,
)
def similarity_search(