Add embeddings to the vectorstore.
add_embeddings(
self,
texts: Iterable[str],
embeddings: List[List[float]],
metadatas: Optional[List[dict]] = None,
ids: Optional[List[str]] = None,
**kwargs: Any = {}
) -> List[str]| Name | Type | Description |
|---|---|---|
texts* | Iterable[str] | Iterable of strings to add to the vectorstore. |
embeddings* | List[List[float]] | List of list of embedding vectors. |
metadatas | Optional[List[dict]] | Default: NoneList of metadatas associated with the texts. |
ids | Optional[List[str]] | Default: NoneList of ids for the text embedding pairs |
kwargs | Any | Default: {}vectorstore specific parameters |