docs: fix kwargs docstring (#25010)

Fix:
![Screenshot 2024-08-02 at 5 33 37
PM](https://github.com/user-attachments/assets/7c56cdeb-ee81-454c-b3eb-86aa8a9bdc8d)
This commit is contained in:
Bagatur
2024-08-02 19:54:54 -07:00
committed by GitHub
parent 57747892ce
commit e81ddb32a6
61 changed files with 143 additions and 143 deletions

View File

@@ -396,7 +396,7 @@ class ApertureDB(VectorStore):
texts: List of text strings
embedding: Embeddings object as for constructing the vectorstore
metadatas: Optional list of metadatas associated with the texts.
**kwargs: Additional arguments to pass to the constructor
kwargs: Additional arguments to pass to the constructor
"""
store = cls(embeddings=embedding, **kwargs)
store.add_texts(texts, metadatas)
@@ -416,7 +416,7 @@ class ApertureDB(VectorStore):
documents: List of Document objects
embedding: Embeddings object as for constructing the vectorstore
metadatas: Optional list of metadatas associated with the texts.
**kwargs: Additional arguments to pass to the constructor
kwargs: Additional arguments to pass to the constructor
"""
store = cls(embeddings=embedding, **kwargs)
store.add_documents(documents)