Creates a new vectorstore from a list of documents
from_documents(
cls: Type[ApertureDB],
documents: List[Document],
embedding: Embeddings,
**kwargs: Any = {}
) -> ApertureDB| Name | Type | Description |
|---|---|---|
documents* | List[Document] | List of Document objects |
embedding* | Embeddings | Embeddings object as for constructing the vectorstore |
metadatas* | unknown | Optional list of metadatas associated with the texts. |
kwargs | Any | Default: {}Additional arguments to pass to the constructor |