Skip to main content

Interface: SqlLearningStoreOptions

Defined in: packages/agentos/src/cognition/learning/store/SqlLearningStore.ts:39

How a SqlLearningStore is built: the host's adapter, and whether the store makes its own tables.

Properties​

adapter​

adapter: StorageAdapter

Defined in: packages/agentos/src/cognition/learning/store/SqlLearningStore.ts:41

The host's storage adapter, with transactions. The store never closes it.


ensureSchema?​

optional ensureSchema: boolean

Defined in: packages/agentos/src/cognition/learning/store/SqlLearningStore.ts:46

Create the tables and add the columns a later release names before the store's first statement. Default true; false for a product that runs the learning store's DDL in its own migrations.