Create an Astra DB vectorstore from a document list.
Utility method that defers to
from_texts.
from_documents(
cls: type[AstraDBVectorStore],
documents: Iterable[Document],
embedding: Embeddings | None = None,
**kwargs: Any = {}
) -> AstraDBVectorStore| Name | Type | Description |
|---|---|---|
documents* | Iterable[Document] | a list of |
embedding | Embeddings | None | Default: Nonethe embedding function to use in the store. |
**kwargs | Any | Default: {}you can pass any argument that you would to
|