oracular / EngineConfig
Interface: EngineConfig
Defined in: types.ts:134
Everything createState needs. A normalized copy is stored in the state; pass the current config to deserialize on load.
Example
ts
const config: EngineConfig = {
episodeTimeout: 30 * 60 * 1000,
intents: { upgrade, churn },
reveal: { z: 1.28 },
};Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
episodeTimeout? | number | Idle gap after which the current episode ends on its own, in the same unit as at. Omit to end episodes only via endEpisode. | types.ts:137 |
intents | Record<string, IntentConfig> | - | types.ts:135 |
learning? | LearningConfig | - | types.ts:138 |
reveal? | RevealOptions | Reveal defaults for every intent. | types.ts:140 |