Run more texts through the embeddings and add to the vectorstore.
add_texts(
self,
texts: Iterable[str],
metadatas: Optional[List[dict]] = None,
ids: Optional[List[str]] = None,
batch_size: int = 16,
ttl_seconds: Optional[int] = None,
**kwargs: Any = {}
) -> List[str]| Name | Type | Description |
|---|---|---|
texts* | Iterable[str] | Texts to add to the vectorstore. |
metadatas | Optional[List[dict]] | Default: NoneOptional list of metadatas. |
ids | Optional[List[str]] | Default: NoneOptional list of IDs. |
batch_size | int | Default: 16Number of concurrent requests to send to the server. |
ttl_seconds | Optional[int] | Default: NoneOptional time-to-live for the added texts. |