Interface: RememberRequest
@kortexya/reasoninglayer / RememberRequest
Interface: RememberRequest
Section titled “Interface: RememberRequest”Defined in: src/types/memory.ts:22
Request to store a memory.
Remarks
Section titled “Remarks”The engine refuses an unknown body key with 422, so the request carries
exactly these four fields.
Properties
Section titled “Properties”importance?
Section titled “importance?”
optionalimportance?:number
Defined in: src/types/memory.ts:35
Importance in 0.0..=1.0. Defaults to 0.5. Stored exactly as sent and
returned unchanged by recall. When the write merges into an existing memory
(outcome updated), this value replaces that memory’s importance. A value
outside the range, or a non-finite one, is refused with 400.
source?
Section titled “source?”
optionalsource?:string|null
Defined in: src/types/memory.ts:37
Optional source identifier; the engine appends it as a src:<source> tag.
summary
Section titled “summary”summary:
string
Defined in: src/types/memory.ts:28
The memory text to store. Must not be empty or whitespace, and the memory
policy caps it at 500 characters; the engine refuses either with 400 and
stores nothing.
optionaltags?:string[]
Defined in: src/types/memory.ts:42
Tags used for activation-based retrieval. Encode kind and source here, for
example ["prompt", "name:standup-template"].