from_documents(
cls: type[AstraDBVectorStore],
documents: Iterable[Document],
embedding: Embeddings| Name | Type | Description |
|---|---|---|
documents* | Iterable[Document] | a list of |
embedding | Embeddings | None | Default: Nonethe embedding function to use in the store. |
**kwargs | Any | Default: {} |
Create an Astra DB vectorstore from a document list.
Utility method that defers to
from_texts.
you can pass any argument that you would to
add_texts
and/or to the AstraDBVectorStore constructor (see these methods for
details). These arguments will be
routed to the respective methods as they are.