mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-01 11:02:37 +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:
committed by
GitHub
parent
62b59048de
commit
85b88c33f3
@@ -414,7 +414,7 @@ class OpenSearchVectorSearch(VectorStore):
|
|||||||
metadatas=metadatas,
|
metadatas=metadatas,
|
||||||
ids=ids,
|
ids=ids,
|
||||||
bulk_size=bulk_size,
|
bulk_size=bulk_size,
|
||||||
kwargs=kwargs,
|
**kwargs,
|
||||||
)
|
)
|
||||||
|
|
||||||
def add_embeddings(
|
def add_embeddings(
|
||||||
@@ -451,7 +451,7 @@ class OpenSearchVectorSearch(VectorStore):
|
|||||||
metadatas=metadatas,
|
metadatas=metadatas,
|
||||||
ids=ids,
|
ids=ids,
|
||||||
bulk_size=bulk_size,
|
bulk_size=bulk_size,
|
||||||
kwargs=kwargs,
|
**kwargs,
|
||||||
)
|
)
|
||||||
|
|
||||||
def similarity_search(
|
def similarity_search(
|
||||||
|
Reference in New Issue
Block a user