ChatMemoryRedactionOptions
Auto-generated API reference for ChatMemoryRedactionOptions.
Interface: ChatMemoryRedactionOptions
Defined in: memory/src/redaction.ts:33
#Extended by
#Properties
#allowedRoles?
optionalallowedRoles?:string[]
Defined in: memory/src/redaction.ts:44
Roles allowed to reveal β required when mode === 'tokenize'.
#audit?
optionalaudit?:RedactionAuditSink
Defined in: memory/src/redaction.ts:46
Optional audit sink threaded into the vault tokenize() calls.
#mode?
optionalmode?:RedactionMode
Defined in: memory/src/redaction.ts:40
#rules
rules:
PIIRule[]
Defined in: memory/src/redaction.ts:39
Rules to apply. Pass DEFAULT_PII_RULES for the baseline set,
compilePIITaxonomy(json) for a custom JSON taxonomy, or any
hand-rolled PIIRule[]. Same shape as createPIIRedactor.
#vault?
optionalvault?:RedactionVault
Defined in: memory/src/redaction.ts:42
Required when mode === 'tokenize'.