initialize(
embeddings: EmbeddingsInterface,
config: MariaDBStoreArgs __type
): Promise<MariaDBStore| Name | Type | Description |
|---|---|---|
embeddings* | EmbeddingsInterface | |
config* | MariaDBStoreArgs & __type |
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.
Embeddings instance.