Add more texts to the VectorStore.
add_texts(
self,
texts: Iterable[str],
metadatas: Optional[List[dict]] = None,
embeddings: Optional[List[List[float]]] = None,
batch_size: int = 1000,
clean_metadata: bool = True,
**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. |
embeddings | Optional[List[List[float]]] | Default: NoneOptional pre-generated embeddings. |
batch_size | int | Default: 1000Batch size to use for writes. |
**kwargs | Any | Default: {}Additional keyword arguments. Supports |