Static method to create a new MariaDBStore instance from an
array of Document instances. It adds the documents to the store.
fromDocuments(
docs: Document<Record<string, any>>[],
embeddings: EmbeddingsInterface,
dbConfig: MariaDBStoreArgs __type
): Promise<MariaDBStore>| Name | Type | Description |
|---|---|---|
docs* | Document<Record<string, any>>[] | Array of |
embeddings* | EmbeddingsInterface | Embeddings instance. |
dbConfig* | MariaDBStoreArgs & __type |
|