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 = 25,
partition: str = 'default',
**kwargs: Any = {}
) -> List[str]| Name | Type | Description |
|---|---|---|
texts* | Iterable[str] | Iterable of strings to add to the vectorstore. |
metadatas | Optional[List[dict]] | Default: NoneOptional list of metadatas associated with the texts. |
ids | Optional[List[str]] | Default: NoneOptional list of ids associated with the texts. |
batch_size | int | Default: 25Optional batch size to upsert docs. |
partition | str | Default: 'default'a partition name in collection. [optional]. |
kwargs | Any | Default: {}vectorstore specific parameters |