wrapVectorMemoryWithRedaction
Auto-generated API reference for wrapVectorMemoryWithRedaction.
Function: wrapVectorMemoryWithRedaction()
wrapVectorMemoryWithRedaction(
inner,options):VectorMemory
Defined in: memory/src/redaction.ts:106
Wrap any VectorMemory so each document's content is redacted (or
tokenized) before store(). search() and delete() pass through.
Note: embeddings pass through verbatim. Customers who embed plaintext PII separately (e.g. via a hosted embedding provider) must redact the input to their embedder, not just to this wrapper.
#Parameters
#inner
VectorMemory
#options
#Returns
VectorMemory