You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using from_texts() method on the OpenSearchVectorSearch class it is not possible to pass kwargs to the Opensearch client (which does happen when using the standard __init__() constructor).
Fix is to add **kwargs to line 431 in opensearch_vector_search.py:
client = _get_opensearch_client(opensearch_url)
The text was updated successfully, but these errors were encountered:
### Description
Pass kwargs to get OpenSearch client from `from_texts` function
### Issues Resolvedlangchain-ai#2819
Signed-off-by: Naveen Tatikonda <navtat@amazon.com>
When using
from_texts()
method on the OpenSearchVectorSearch class it is not possible to pass kwargs to the Opensearch client (which does happen when using the standard__init__()
constructor).Fix is to add
**kwargs
to line 431 inopensearch_vector_search.py
:The text was updated successfully, but these errors were encountered: