VectorMemoryRedactionOptions
Auto-generated API reference for VectorMemoryRedactionOptions.
Interface: VectorMemoryRedactionOptions
Defined in: memory/src/redaction.ts:49
#Extends
#Properties
#allowedRoles?
optionalallowedRoles?:string[]
Defined in: memory/src/redaction.ts:44
Roles allowed to reveal β required when mode === 'tokenize'.
#Inherited from
ChatMemoryRedactionOptions.allowedRoles
#audit?
optionalaudit?:RedactionAuditSink
Defined in: memory/src/redaction.ts:46
Optional audit sink threaded into the vault tokenize() calls.
#Inherited from
ChatMemoryRedactionOptions.audit
#mode?
optionalmode?:RedactionMode
Defined in: memory/src/redaction.ts:40
#Inherited from
ChatMemoryRedactionOptions.mode
#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.
#Inherited from
ChatMemoryRedactionOptions.rules
#vault?
optionalvault?:RedactionVault
Defined in: memory/src/redaction.ts:42
Required when mode === 'tokenize'.
#Inherited from
ChatMemoryRedactionOptions.vault