Skip to content

Graphorin API reference v0.8.0


Graphorin API reference / @graphorin/memory / / ProfileProjectionConfig

Interface: ProfileProjectionConfig

Defined in: packages/memory/src/consolidator/phases/profile-projection.ts:56

createMemory({ profile }) configuration (public shape).

Stable

Properties

PropertyModifierTypeDescriptionDefined in
maxChars?readonlynumberCharacter bound enforced on the stored block. Default 1600.packages/memory/src/consolidator/phases/profile-projection.ts:67
maxSlots?readonlynumberMaximum number of slots kept. Default 24.packages/memory/src/consolidator/phases/profile-projection.ts:65
scope?readonly"session" | "user"Block scope: 'user' (default) writes one user-scoped block (survives session deletion; erased via working.purge); 'session' keeps the firing scope for per-peer profiles.packages/memory/src/consolidator/phases/profile-projection.ts:73
topics?readonlyreadonly string[]Topic taxonomy the projection is restricted to (supplied by the operator - e.g. ['identity', 'preferences', 'health', 'work']). When given, slots whose topic is not in the list are dropped deterministically; when omitted the model chooses topics freely.packages/memory/src/consolidator/phases/profile-projection.ts:63