Add more texts to the VectorStore.
add_texts(
self,
texts: Iterable[str],
metadatas: Optional[List[dict]] = None,
*,
ids: Optional[List[str]] = None,
batch_size: int = 200,
**kwargs: Any = {}
) -> List[str]| Name | Type | Description |
|---|---|---|
texts* | Iterable[str] | Iterable of strings/text to add to the |
metadatas | Optional[List[dict]] | Default: NoneOptional list of metadatas. |
ids | Optional[List[str]] | Default: NoneOptional list of IDs associated with the texts. |
batch_size | int | Default: 200Batch size for |
kwargs | Any | Default: {}Additional keyword arguments. |