Skip to content

Interface: RememberRequest

@kortexya/reasoninglayer


@kortexya/reasoninglayer / RememberRequest

Defined in: src/types/memory.ts:22

Request to store a memory.

The engine refuses an unknown body key with 422, so the request carries exactly these four fields.

optional importance?: 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.


optional source?: string | null

Defined in: src/types/memory.ts:37

Optional source identifier; the engine appends it as a src:<source> tag.


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.


optional tags?: 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"].