Skip to Content

VaultMemoryWriter

VaultMemoryWriter = (input: VaultWriteInput) => Promise<VaultWriteOutcome>

Defined in: src/lib/memoryVault/tool.ts:69 

The seam through which the tool writes NEW memories when the host supplies one. useChatStorage (react + expo) passes a retain()-backed writer so a model-initiated save gets the same cosine auto-merge the background extractor gets, instead of a bare insert that trusts the model to have de-duplicated.

Parameters

ParameterType

input

VaultWriteInput

Returns

Promise<VaultWriteOutcome>

Last updated on