mirror of
https://github.com/hwchase17/langchain.git
synced 2025-05-28 10:39:23 +00:00
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:
parent
62b59048de
commit
85b88c33f3
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user