agentskit.js

ChatMemoryRedactionOptions

Auto-generated API reference for ChatMemoryRedactionOptions.

Interface: ChatMemoryRedactionOptions

Defined in: packages/memory/src/redaction.ts:35

#Extended by

#Properties

#allowedRoles?

optional allowedRoles?: string[]

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

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


#audit?

optional audit?: RedactionAuditSink

Defined in: packages/memory/src/redaction.ts:48

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


#mode?

optional mode?: RedactionMode

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


#rules

rules: PIIRule[]

Defined in: packages/memory/src/redaction.ts:41

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: packages/memory/src/redaction.ts:44

Required when mode === 'tokenize'.

Explore nearby

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

On this page

Ask the docs
Ask anything about AgentsKit. Answers come from the docs corpus and cite their sources.