Run more texts through the embeddings and add to the vectorstore.
add_texts(
self,
texts: Iterable[str],
metadatas: Optional[List[Dict[str, Any]]] = None,
document_ids: Optional[List[str]] = None,
**kwargs: Any = {}
) -> List[str]| Name | Type | Description |
|---|---|---|
texts* | Iterable[str] | Iterable of strings to add to the vectorstore. |
metadatas | Optional[List[Dict[str, Any]]] | Default: NoneOptional list of metadatas associated with the texts. |
document_ids | Optional[List[str]] | Default: NoneOptional list of document ids associated with the texts. |
kwargs | Any | Default: {}vectorstore specific parameters |