Async return VectorStore initialized from texts and embeddings.
afrom_texts(
cls,
texts: list[str],
embedding: Embeddings,
metadatas: list[dict] | None = None,
*,
ids: list[str] | None = None,
**kwargs: Any = {}
) -> Self| Name | Type | Description |
|---|---|---|
texts* | list[str] | Texts to add to the |
embedding* | Embeddings | Embedding function to use. |
metadatas | list[dict] | None | Default: NoneOptional list of metadatas associated with the texts. |
ids | list[str] | None | Default: NoneOptional list of IDs associated with the texts. |
**kwargs | Any | Default: {}Additional keyword arguments. |