add kwargs (#19519)

`HanaDB.add_texts` is missing **kwargs.
This commit is contained in:
ccurme 2024-03-25 11:56:01 -04:00 committed by GitHub
parent 3d3b46a782
commit 82de8fd6c9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -6,6 +6,7 @@ import json
import re import re
from typing import ( from typing import (
TYPE_CHECKING, TYPE_CHECKING,
Any,
Callable, Callable,
Iterable, Iterable,
List, List,
@ -197,6 +198,7 @@ class HanaDB(VectorStore):
texts: Iterable[str], texts: Iterable[str],
metadatas: Optional[List[dict]] = None, metadatas: Optional[List[dict]] = None,
embeddings: Optional[List[List[float]]] = None, embeddings: Optional[List[List[float]]] = None,
**kwargs: Any,
) -> List[str]: ) -> List[str]:
"""Add more texts to the vectorstore. """Add more texts to the vectorstore.