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