Static method to create an instance of AstraDBVectorStore from documents.
fromDocuments(
docs: Document<Record<string, any>>[],
embeddings: EmbeddingsInterface,
dbConfig: AstraLibArgs
): Promise<AstraDBVectorStore>| Name | Type | Description |
|---|---|---|
docs* | Document<Record<string, any>>[] | The Documents to use. |
embeddings* | EmbeddingsInterface | The embeddings to use. |
dbConfig* | AstraLibArgs | The arguments for the AstraDBVectorStore. |