Interface: IWorkingMemoryConfig
Defined in: internal/working-memory/types.ts:314
Configuration of the built-in WorkingMemory. Lands in IAIGatewayConfig.workingMemory.
Properties
enabled
enabled:
boolean
Defined in: internal/working-memory/types.ts:322
The switch of the thread memory.
Off: nothing is remembered and no helper model is called;
loadstill gives the last 20 turns, so the model sees the conversation.
No default: it is decided where the gateway is configured.
strategy?
optionalstrategy?:TWorkingMemoryStrategy
Defined in: internal/working-memory/types.ts:332
The gateway's default strategy; a profile's workingMemory overrides it.
Decides whether the model reads the raw history or a digest of it.
Example
{type: EWorkingMemoryStrategy.SLIDING_WINDOW} - precise chat on every profile that does not say otherwise
Default
- today's behaviour, with the defaults of
IWorkingMemorySummaryBuffer