Run more texts through the embedding and add them to the vector store.
add_texts(
self,
texts: Iterable[str],
metadatas: Optional[List[dict]] = None,
ids: Optional[List[str]] = None,
embedder_name: Optional[str] = 'default',
**kwargs: Any = {}
) -> List[str]| Name | Type | Description |
|---|---|---|
texts* | Iterable[str] | Iterable of strings/text to add to the vectorstore. |
embedder_name | Optional[str] | Default: 'default'Name of the embedder. Defaults to "default". |
metadatas | Optional[List[dict]] | Default: NoneOptional list of metadata. Defaults to None. |
ids Optional[List[str]]* | unknown | Optional list of IDs. Defaults to None. |