Skip to content

oracular / Snapshot

Interface: Snapshot ​

Defined in: types.ts:486

Every intent's prediction, gate and explanation at one moment, as inspect returns it: what a debug panel shows, what a test asserts on, what console.table prints.

Example ​

ts
const { intents } = inspect(state, Date.now());
console.table(intents.map((i) => ({ intent: i.intent, p: i.prediction.p, reveal: i.reveal })));

Properties ​

PropertyTypeDescriptionDefined in
atnumber-types.ts:487
intentsIntentSnapshot[]In config order.types.ts:489

Released under the MIT License.