add_texts function for SQLServer_VectorStore class.
Compute the embeddings for the input texts and store embeddings in the vectorstore.
add_texts(
self,
texts: Iterable[str],
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 into the vectorstore. |
metadatas | Optional[List[dict]] | Default: NoneList of metadatas (python dicts) associated with the input texts. |
ids | Optional[List[str]] | Default: NoneList of IDs for the input texts. |
**kwargs | Any | Default: {}vectorstore specific parameters. |