Create an Astra DB vectorstore from raw texts.
afrom_texts(
cls: type[AstraDBVectorStore],
texts: Iterable[str],
embedding: Embeddings | None = None,
metadatas: Iterable[dict] | None = None,
ids: Iterable[str | None] | None = None,
**kwargs: Any = {}
) -> AstraDBVectorStore| Name | Type | Description |
|---|---|---|
texts* | Iterable[str] | the texts to insert. |
embedding | Embeddings | None | Default: Noneembedding function to use. |
metadatas | Iterable[dict] | None | Default: Nonemetadata dicts for the texts. |
ids | Iterable[str | None] | None | Default: Noneids to associate to the texts. |
**kwargs | Any | Default: {}you can pass any argument that you would to
|