agentskit.js

ChatMemoryRedactionOptions

Auto-generated API reference for ChatMemoryRedactionOptions.

Interface: ChatMemoryRedactionOptions

Defined in: memory/src/redaction.ts:33

#Extended by

#Properties

#allowedRoles?

optional allowedRoles?: string[]

Defined in: memory/src/redaction.ts:44

Roles allowed to reveal β€” required when mode === 'tokenize'.


#audit?

optional audit?: RedactionAuditSink

Defined in: memory/src/redaction.ts:46

Optional audit sink threaded into the vault tokenize() calls.


#mode?

optional mode?: 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?

optional vault?: RedactionVault

Defined in: memory/src/redaction.ts:42

Required when mode === 'tokenize'.

Explore nearby

✎ Edit this page on GitHubΒ·Found a problem? Open an issue β†’Β·How to contribute β†’

On this page