Add more texts to the vectorstore.
add_texts(
self,
texts: Iterable[str],
metadatas: list[dict[Any, Any]] | None = None,
ids: list[str] | None = None,
**kwargs: Any = {}
) -> list[str]| Name | Type | Description |
|---|---|---|
texts* | Iterable[str] | Iterable of strings to add to the vectorstore |
metadatas | list[dict[Any, Any]] | None | Default: NoneOptional list of metadatas associated with the texts |
ids | list[str] | None | Default: NoneOptional list of ids for the texts that are being added to the vector store |
kwargs | Any | Default: {}vectorstore specific parameters |