Run more texts through the embeddings and add to the VectorStore.
add_texts(
self,
texts: Iterable[str],
metadatas: list[dict] | None = None,
ids: list[str] | None = None,
**kwargs: Any = {}
) -> list[str]| Name | Type | Description |
|---|---|---|
texts* | Iterable[str] | Texts to add to the |
metadatas | list[dict] | None | Default: NoneOptional list of metadatas. When querying, you can filter on this metadata. |
ids | list[str] | None | Default: NoneOptional list of IDs. (Items without IDs will be assigned UUIDs) |
kwargs | Any | Default: {}Additional keyword arguments. |