Static method to create a new MariaDBStore instance from a
connection. It creates a table if one does not exist, and calls
connect to return a new instance of MariaDBStore.
initialize(
embeddings: EmbeddingsInterface,
config: MariaDBStoreArgs __type
): Promise<MariaDBStore>| Name | Type | Description |
|---|---|---|
embeddings* | EmbeddingsInterface | Embeddings instance. |
config* | MariaDBStoreArgs & __type |